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)
This commit is contained in:
Tomas Mraz 2021-04-26 13:12:28 +02:00
parent eaf8a40d97
commit 680dbd16dc
1 changed files with 3 additions and 1 deletions

View File

@ -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;