Skip tests depending on deprecated list -*-commands options

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13669)
This commit is contained in:
Dmitry Belyavskiy 2020-12-12 06:23:20 +01:00
parent a08489e241
commit 249d559545

View File

@ -18,6 +18,8 @@ use OpenSSL::Test qw/:DEFAULT srctop_file bldtop_dir/;
use OpenSSL::Test::Utils;
setup("test_enc");
plan skip_all => "Deprecated functions are disabled in this OpenSSL build"
if disabled("deprecated");
# We do it this way, because setup() may have moved us around,
# so the directory portion of $0 might not be correct any more.