Subject: | t/03-subtest.t requires Test::More 0.96 |
With Test::More 0.94:
$ ./Build test
t/00-check-deps.t ......... ok
t/00-compile.t ............ ok
oh noes, something warned! at t/01-basic-tb0.9x.t line 33.
t/01-basic-tb0.9x.t ....... ok
t/01-basic-tb2.t .......... skipped: These tests are only for Test::Builder 1.005+
t/02-done_testing.t ....... ok
# Tests were run but no plan was declared and done_testing() was not seen.
# Failed test 'here is a subtest'
# at /usr/share/perl5/Test/Builder.pm line 229.
# Looks like you failed 1 test of 3.
t/03-subtest.t ............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
t/04-no-tests.t ........... ok
oh noes, something warned! at t/05-no-end-block.t line 13.
t/05-no-end-block.t ....... ok
t/06-skip-all.t ........... skipped: Need Foo::Bar::Baz to continue!
t/07-no_plan.t ............ ok
this is not a fatal warning, because Test::Warnings is not loaded at t/08-use-if.t line 10.
t/08-use-if.t ............. ok
t/09-warnings-contents.t .. ok
Test Summary Report
-------------------
t/03-subtest.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=12, Tests=55, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.34 cusr 0.04 csys = 0.43 CPU)
Result: FAIL
The implicit done_testing at the end of subtests, which this test assumes, was added between 0.94 and 0.96 of Test-Simple.
So either the test needs adjusting or the dist's version requirement for Test::more needs bumping to 0.96.