summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-08-31 17:07:44 +0200
committerRichard Levitte <levitte@openssl.org>2016-08-31 17:43:51 +0200
commiteb40eaed727500bf4a15f848c99e37edd18e142e (patch)
tree91cd4f8777936de98fb65b38d5aec89a574df31b
parent68b4a6e91f5acd42489bb9d1c580acc5ae457cad (diff)
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>
-rwxr-xr-xConfigure1
-rwxr-xr-xtest/recipes/05-test_fuzz.t3
2 files changed, 4 insertions, 0 deletions
diff --git a/Configure b/Configure
index 133136077d..b95f31101a 100755
--- a/Configure
+++ b/Configure
@@ -342,6 +342,7 @@ my @disablables = (
"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 d152925733..f1ccfe32f8 100755
--- a/test/recipes/05-test_fuzz.t
+++ b/test/recipes/05-test_fuzz.t
@@ -15,6 +15,9 @@ use OpenSSL::Test::Utils;
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';