Subject: | Tests fail under parallel testing |
t/03_OO.t relies on previous tests execution state in its tests.
A trivial reproduction can be performed in a clean tar extraction with:
perl Makefile.PL
make
prove -blvr t/03_OO.t
---
t/03_OO.t ..
1..6
ok 1 - OO constructor works
ok 2 - xdg_data_dirs default - OO
not ok 3 - data_dirs - OO
# Failed test 'data_dirs - OO'
# at t/03_OO.t line 18.
# got: undef
# expected: 't/data'
not ok 4 - data_dirs - Module
# Failed test 'data_dirs - Module'
# at t/03_OO.t line 20.
# got: undef
# expected: 't/data'
ok 5 - data_home - OO
ok 6 - data_home - Module
# Looks like you failed 2 tests of 6.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests
Test Summary Report
-------------------
t/03_OO.t (Wstat: 512 Tests: 6 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.04 cusr 0.00 csys = 0.07 CPU)
Result: FAIL
--
This is likely responsible for a majority of the "red" results here: http://matrix.cpantesters.org/?dist=File-BaseDir;os=linux;reports=1
And is a highly weighted factor here: http://analysis.cpantesters.org/solved?distv=File-BaseDir-0.07
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )