From: Richard Levitte Date: Wed, 31 Aug 2016 15:07:44 +0000 (+0200) Subject: Make it possible to disable fuzz testing X-Git-Tag: OpenSSL_1_1_0a~95 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fd2107e077c94b61df7dcca0cc1aed9b833927dd;p=oweals%2Fopenssl.git 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 (cherry picked from commit eb40eaed727500bf4a15f848c99e37edd18e142e) --- 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';