Make it possible to disable fuzz testing
These tests take a very long time on some platforms, and arent't
always strictly necessary. This makes it possible to turn them
off. The necessary binaries are still built, though, in case
someone still wants to do a manual run.
Reviewed-by: Andy Polyakov <appro@openssl.org>
diff --git a/Configure b/Configure
index 1331360..b95f311 100755
--- a/Configure
+++ b/Configure
@@ -342,6 +342,7 @@
"filenames",
"fuzz-libfuzzer",
"fuzz-afl",
+ "fuzz-test",
"gost",
"heartbeats",
"hw(-.+)?",
diff --git a/test/recipes/05-test_fuzz.t b/test/recipes/05-test_fuzz.t
index d152925..f1ccfe3 100755
--- a/test/recipes/05-test_fuzz.t
+++ b/test/recipes/05-test_fuzz.t
@@ -15,6 +15,9 @@
setup("test_fuzz");
+plan skip_all => "Fuzz testing is disabled by this OpenSSL build"
+ if disabled("fuzz-test");
+
my @fuzzers = ('asn1', 'asn1parse', 'bignum', 'bndiv', 'conf', 'crl', 'server', 'x509');
if (!disabled("cms")) {
push @fuzzers, 'cms';