Subject: | System perl used in tests (0.15) |
The test suite fails on my smokers:
...
PERL_DL_NONLAZY=1 "/opt/perl-5.24.0t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't locate Bio/Matrix/IO.pm in @INC (@INC contains: /home/cpansand/.cpan/build/2017060221/Mashtree-0.15-5/bin/../lib/perl5 /home/cpansand/.cpan/build/2017060221/Mashtree-0.15-5/blib/lib /home/cpansand/.cpan/build/2017060221/Mashtree-0.15-5/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/cpansand/.cpan/build/2017060221/Mashtree-0.15-5/bin/../lib/perl5/Mashtree.pm line 14.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017060221/Mashtree-0.15-5/bin/../lib/perl5/Mashtree.pm line 14.
Compilation failed in require at ./bin/mashtree.pl line 21.
BEGIN failed--compilation aborted at ./bin/mashtree.pl line 21.
# Failed test 'Mashtree produced the expected tree'
# at t/01_filetypes.t line 19.
# got: ''
# expected: '(CFSAN000189.gbk:0.00000,(CFSAN001112.ref:0.00001,CFSAN001140_1:0.00019):0.00001,((CFSAN000968.ref:0.00000,CFSAN001115.ref:0.00000):0.00001,(CFSAN000189.ref:0.00000,(CFSAN000191.ref:0.00002,(CFSAN000211.gbk:0.00045,CFSAN000961.gbk:0.00005):0.00003):0.00000):0.00001):0.00000);'
# Looks like you failed 1 test of 2.
t/01_filetypes.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
... (etc.) ...
It seems that the system perl is used here, not the perl used for building the distribution. Typically using something like $^X may help to fix the problem.