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>
This commit is contained in:
Richard Levitte 2016-08-31 17:07:44 +02:00
parent 68b4a6e91f
commit eb40eaed72
2 changed files with 4 additions and 0 deletions

View file

@ -342,6 +342,7 @@ my @disablables = (
"filenames",
"fuzz-libfuzzer",
"fuzz-afl",
"fuzz-test",
"gost",
"heartbeats",
"hw(-.+)?",

View file

@ -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';