From: Richard Levitte Date: Sat, 6 May 2017 08:29:16 +0000 (+0200) Subject: test/recipes/95-test_*.t : correct skip_all syntax X-Git-Tag: OpenSSL_1_1_1-pre1~1574 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=218712ffddfdf3c7574c1d945e094f6601500caa test/recipes/95-test_*.t : correct skip_all syntax Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3400) --- diff --git a/test/recipes/95-test_external_krb5.t b/test/recipes/95-test_external_krb5.t index 8cfec82239..6cc4d26815 100644 --- a/test/recipes/95-test_external_krb5.t +++ b/test/recipes/95-test_external_krb5.t @@ -13,9 +13,9 @@ use OpenSSL::Test qw/:DEFAULT data_file srctop_file/; setup("test_external_krb5"); -plan skip_all "No external tests in this configuration" +plan skip_all => "No external tests in this configuration" if disabled("external-tests"); -plan skip_all "krb5 not available" +plan skip_all => "krb5 not available" if ! -f srctop_file("krb5", "README"); plan tests => 1; diff --git a/test/recipes/95-test_external_pyca.t b/test/recipes/95-test_external_pyca.t index 45d6c1b47a..c1ada99416 100644 --- a/test/recipes/95-test_external_pyca.t +++ b/test/recipes/95-test_external_pyca.t @@ -15,11 +15,11 @@ setup("test_external"); plan skip_all => "No external tests in this configuration" if disabled("external-tests"); -plan skip_all "PYCA tests not available on Windows or VMS" +plan skip_all => "PYCA tests not available on Windows or VMS" if $^O =~ /^(VMS|MSWin32)$/; -plan skip_all "PYCA Cryptography not available" +plan skip_all => "PYCA Cryptography not available" if ! -f srctop_file("pyca-cryptography", "setup.py"); -plan skip_all "PYCA tests only available in a shared build" +plan skip_all => "PYCA tests only available in a shared build" if disabled("shared"); plan tests => 1;