New Test::Builder version broke Test::ParallelSubtest
[email protected] (Jan Seidel) Mon, 13 Jan 2014 23:30:47 +0000
| Newsgroups | perl.qa |
|---|---|
| Message-ID | <D6FFCD3FDB10E240A09C6621C9691C22289A02@WINDOWSHOME.storcloudinc.local> |
Hi,
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)
I'm now wondering how to solve this issue. It looks like Test::ParallelSubtest is not actively maintained. Is there a recommended alternative for it to run multiple tests in parallel?
Thanks,
Jan