Subject: | M::B 0.4220 seems to interfere with "." in @INC |
Under perl 5.24 we no longer have "." in @INC. I have several unit tests unprepared for this change, which therefore ought to fail on perl 5.24.
When I build with Module::Build version 0.4218 that is indeed what happens:
$ perlmodversion Module::Build
0.4218
$ ./Build test
...
t/90ex_bencode.t .......... Can't locate examples/parse-bencode.pl in @INC (@INC contains: /home/leo/src/perl/Parser-MGC/blib/lib /home/leo/src/perl/Parser-MGC/blib/arch /home/leo/lib/perl5/x86_64-linux-gnu-thread-multi /home/leo/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at t/90ex_bencode.t line 8.
t/90ex_bencode.t .......... Dubious, test returned 2 (wstat 512, 0x200)
However, on upgrading to 0.4220 erroneously passes this test, causing a false-positive PASS on local testing which then fails for CPAN smokers, upstream users, etc.. depending on their exact version of M::B.
--
Paul Evans