Skip all explicitely if the number of tests is 0
authorRichard Levitte <levitte@openssl.org>
Wed, 27 Jan 2016 17:31:08 +0000 (18:31 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 27 Jan 2016 17:41:34 +0000 (18:41 +0100)
commit49dc5404dfbaaa52baeef43879f0d3f9bae582d0
treee6396b04513e2b7e52f317b3dc80c2f59a404916
parent57a143fd83bc0bed49a1eeeef8ab089ffad8a4fe
Skip all explicitely if the number of tests is 0

It seems that Test::More doesn't like 0 tests, a line like this raises
an error and stops the recipe entirely:

    plan tests => 0;

So we need to check for 0 tests beforehand and skip the subtest
explicitely in that case.

Reviewed-by: Rich Salz <rsalz@openssl.org>
test/recipes/80-test_ssl.t