summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2022-01-09 17:39:41 +0100
committerDmitry Belyavskiy <beldmit@gmail.com>2022-01-11 18:01:47 +0100
commite5fb4b1469f317aa92768cdf804dfa29b72cb8f3 (patch)
tree677084c8bc1604ed6e651dae3830b756978416c0 /test
parent2c2724476ef50b8926b033f009bdfc85ac3f1816 (diff)
Don't run TLSFuzzer tests when it is not properly set
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17448)
Diffstat (limited to 'test')
-rw-r--r--test/recipes/95-test_external_tlsfuzzer.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/recipes/95-test_external_tlsfuzzer.t b/test/recipes/95-test_external_tlsfuzzer.t
index e506f8007a..265968e02d 100644
--- a/test/recipes/95-test_external_tlsfuzzer.t
+++ b/test/recipes/95-test_external_tlsfuzzer.t
@@ -18,8 +18,8 @@ plan skip_all => "No external tests in this configuration"
if disabled("external-tests");
plan skip_all => "TLSFuzzer tests not available on Windows or VMS"
if $^O =~ /^(VMS|MSWin32)$/;
-plan skip_all => "TLSFuzzer tests not supported in out of tree builds"
- if bldtop_dir() ne srctop_dir();
+plan skip_all => "TLSFuzzer is not properly checked out"
+ unless (-d srctop_dir("tlsfuzzer") && -d srctop_dir("tlsfuzzer", "tests"));
$ENV{TESTDATADIR} = abs_path(data_dir());
plan tests => 1;