summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-04-26 13:12:28 +0200
committerTomas Mraz <tomas@openssl.org>2021-04-28 09:38:31 +0200
commit680dbd16dc35c6f004c551d19090869e70040af1 (patch)
tree0ba1c72e559901288c0edef077e592f161bdf9e3 /test
parenteaf8a40d97d642ccd2c55fbf8bb8ee3242aec04a (diff)
Skip GOST engine tests in out of tree builds
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15028)
Diffstat (limited to 'test')
-rw-r--r--test/recipes/95-test_external_gost_engine.t4
1 files changed, 3 insertions, 1 deletions
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;