From fd2107e077c94b61df7dcca0cc1aed9b833927dd Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 31 Aug 2016 17:07:44 +0200 Subject: [PATCH] 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) --- Configure | 1 + test/recipes/05-test_fuzz.t | 3 +++ 2 files changed, 4 insertions(+) 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'; -- 2.25.1