Subject: | Test::ParallelSubtest incompatible with Test::Builder versions starting at 0.98_05 |
Date: | Mon, 13 Jan 2014 23:53:06 +0000 |
To: | "bug-Test-ParallelSubtest [...] rt.cpan.org" <bug-Test-ParallelSubtest [...] rt.cpan.org> |
From: | Jan Seidel <Jan.Seidel [...] skyera.com> |
I'm using the Test::ParallelSubtest module to run multiple tests in parallel. However, a change in Test::Builder now broke this module. Every bg_subtest block fails with an error like the following:
not ok 1 - parse child output for 'test 1 '
# Failed test 'parse child output for 'test 1 ''
# at /home/sciadmin/workspace/ws_jan_fw/util/nirvana/CPAN/lib/perl5/Test/ParallelSubtest.pm line 216.
# ERROR: bg_subtest "test 1 " (/home/........ /jantest.t line 24) aborted:
# Parsing failure in Test::ParallelSubtest - cannot parse:
# [ # Subtest: test 1
# ok 1 - test 1
# ]
I looked at the changes in Test::Builder and found that this change introduced the error:
0.98_05 Tue Apr 23 17:33:51 PDT 2013
New Features
* A subtest will put its name at the front of its results to make
subtests easier to read. [github #290] [github #364]
(Brendan Byrd)