From 680dbd16dc35c6f004c551d19090869e70040af1 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Mon, 26 Apr 2021 13:12:28 +0200 Subject: [PATCH] Skip GOST engine tests in out of tree builds Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/15028) --- test/recipes/95-test_external_gost_engine.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/recipes/95-test_external_gost_engine.t b/test/recipes/95-test_external_gost_engine.t index 643e45fc93..37daaf7eca 100644 --- a/test/recipes/95-test_external_gost_engine.t +++ b/test/recipes/95-test_external_gost_engine.t @@ -9,7 +9,7 @@ use OpenSSL::Test; use OpenSSL::Test::Utils; -use OpenSSL::Test qw/:DEFAULT bldtop_file data_file srctop_file cmdstr/; +use OpenSSL::Test qw/:DEFAULT data_file bldtop_dir srctop_dir cmdstr/; setup("test_external_gost_engine"); @@ -19,6 +19,8 @@ plan skip_all => "GOST engine tests not available on Windows or VMS" if $^O =~ /^(VMS|MSWin32)$/; plan skip_all => "GOST engine tests only available in a shared build" if disabled("shared"); +plan skip_all => "GOST engine tests not supported in out of tree builds" + if bldtop_dir() ne srctop_dir(); plan tests => 1; -- 2.34.1