summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-10-23 14:26:32 +0200
committerMatt Caswell <matt@openssl.org>2023-10-23 13:45:09 +0100
commitfac61ea4618c83826b51aebf03cbc2bc3ac7b8c8 (patch)
tree121bb4b831732ee63c7bf88416efea46f6d44b11
parentbde541104908421a46268a88c211c02f71343765 (diff)
quic_record, quicapi, and quicfaults tests do not support fuzzing builds
Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22472)
-rw-r--r--.github/workflows/fuzz-checker.yml1
-rw-r--r--test/recipes/70-test_quic_record.t3
-rw-r--r--test/recipes/75-test_quicapi.t3
-rw-r--r--test/recipes/90-test_quicfaults.t3
4 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/fuzz-checker.yml b/.github/workflows/fuzz-checker.yml
index 766a4a1326..f476b525cf 100644
--- a/.github/workflows/fuzz-checker.yml
+++ b/.github/workflows/fuzz-checker.yml
@@ -23,6 +23,7 @@ jobs:
config: enable-fuzz-afl no-module,
install: afl++-clang,
cc: afl-clang-fast
+ tests: -
}, {
name: libFuzzer,
config: enable-fuzz-libfuzzer enable-asan enable-ubsan,
diff --git a/test/recipes/70-test_quic_record.t b/test/recipes/70-test_quic_record.t
index 3fd782000c..52acaa8aed 100644
--- a/test/recipes/70-test_quic_record.t
+++ b/test/recipes/70-test_quic_record.t
@@ -14,6 +14,9 @@ setup("test_quic_record");
plan skip_all => "QUIC protocol is not supported by this OpenSSL build"
if disabled('quic');
+plan skip_all => "These tests are not supported in a fuzz build"
+ if config('options') =~ /-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION|enable-fuzz-afl/;
+
plan tests => 1;
ok(run(test(["quic_record_test"])));
diff --git a/test/recipes/75-test_quicapi.t b/test/recipes/75-test_quicapi.t
index bd411f221c..e1ce5eabb2 100644
--- a/test/recipes/75-test_quicapi.t
+++ b/test/recipes/75-test_quicapi.t
@@ -22,6 +22,9 @@ my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0);
plan skip_all => "QUIC protocol is not supported by this OpenSSL build"
if disabled('quic');
+plan skip_all => "These tests are not supported in a fuzz build"
+ if config('options') =~ /-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION|enable-fuzz-afl/;
+
plan tests =>
($no_fips ? 0 : 1) # quicapitest with fips
+ 1; # quicapitest with default provider
diff --git a/test/recipes/90-test_quicfaults.t b/test/recipes/90-test_quicfaults.t
index 7fa039a370..710fdad869 100644
--- a/test/recipes/90-test_quicfaults.t
+++ b/test/recipes/90-test_quicfaults.t
@@ -20,6 +20,9 @@ use lib bldtop_dir('.');
plan skip_all => "QUIC protocol is not supported by this OpenSSL build"
if disabled('quic');
+plan skip_all => "These tests are not supported in a fuzz build"
+ if config('options') =~ /-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION|enable-fuzz-afl/;
+
plan tests => 2;
ok(run(test(["quicfaultstest", srctop_dir("test", "certs")])),