diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/testlib/OpenSSL/Test/Simple.pm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/testlib/OpenSSL/Test/Simple.pm b/test/testlib/OpenSSL/Test/Simple.pm index 0637e3dccc..dfae026014 100644 --- a/test/testlib/OpenSSL/Test/Simple.pm +++ b/test/testlib/OpenSSL/Test/Simple.pm @@ -56,13 +56,12 @@ sub simple_test { setup($name); + plan skip_all => "$algo is not supported by this OpenSSL build" + if $algo && disabled($algo); + plan tests => 1; - SKIP: { - skip "$algo is not supported by this OpenSSL build, skipping this test...", 1 - if $algo && disabled($algo); - ok(run(test([$prgr])), "running $prgr"); - } + ok(run(test([$prgr])), "running $prgr"); } =head1 SEE ALSO |