diff options
author | Richard Levitte <levitte@openssl.org> | 2015-09-20 02:15:49 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-09-20 02:15:49 +0200 |
commit | 777ae7c4eea9e517cfacddb92c37c481ad500747 (patch) | |
tree | 18eb7c63bd48cf1e15448a7cdac1a4ba7b022891 | |
parent | c9f6be4ead3ddc5044c1c0430b4d0335301f202b (diff) |
Simplify Simple.pm further, and make it more verbose
Reviewed-by: Stephen Henson <steve@openssl.org>
-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 |