From 777ae7c4eea9e517cfacddb92c37c481ad500747 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 20 Sep 2015 02:15:49 +0200 Subject: [PATCH 1/1] Simplify Simple.pm further, and make it more verbose Reviewed-by: Stephen Henson --- test/testlib/OpenSSL/Test/Simple.pm | 9 ++++----- 1 file 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 -- 2.34.1