Skip tests depending on deprecated list -*-commands options
authorDmitry Belyavskiy <beldmit@gmail.com>
Sat, 12 Dec 2020 05:23:20 +0000 (06:23 +0100)
committerDmitry Belyavskiy <beldmit@gmail.com>
Tue, 15 Dec 2020 03:39:58 +0000 (04:39 +0100)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13669)

test/recipes/20-test_enc.t

index 8cd4cf98b71d2d64de4791df66bc3069107bd07b..32a62ef2fd8162ac613c3d0fba1de0a04bc0c7f9 100644 (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.