Subject: | Tests will fail without '.' in @INC on >perl 5.25.11 ( do "t/part1.b" failed, '.' is no longer in @INC ) |
After carrying the patch in bug #98192 , other bugs become apparent on 5.25.11+ when "." is missing from @INC ( the default behaviour when building things by hand, or when PERL_USE_UNSAFE_INC is explicitly set to 0 )
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Devel::SmallProf
Writing MYMETA.yml and MYMETA.json
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/Devel-SmallProf-2.20.0-r2/work/Devel-SmallProf-2.02 ...
* emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
make -j3 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed'
cp lib/Devel/SmallProf.pm blib/lib/Devel/SmallProf.pm
>>> Source compiled.
>>> Test phase: dev-perl/Devel-SmallProf-2.20.0-r2
make -j3 test TEST_VERBOSE=0
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/part1.t .. do "t/part1.b" failed, '.' is no longer in @INC at t/part1.t line 9.
No such file or directory at t/part1.t line 9.
t/part1.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/part2.t .. Failed 7/10 subtests
t/part3.t .. do ".smallprof" failed, '.' is no longer in @INC at /var/tmp/portage/dev-perl/Devel-SmallProf-2.20.0-r2/work/Devel-SmallProf-2.02/blib/lib/Devel/SmallProf.pm line 59.
do "t/part3.b" failed, '.' is no longer in @INC at t/part3.t line 3.
No such file or directory at t/part3.t line 3.
t/part3.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/part4.t .. Failed 1/2 subtests
t/pods.t ... skipped: Only the author needs to check that POD docs are right
Test Summary Report
-------------------
t/part1.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/part2.t (Wstat: 0 Tests: 10 Failed: 7)
Failed tests: 1-3, 5-8
t/part3.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/part4.t (Wstat: 0 Tests: 2 Failed: 1)
Failed test: 1
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )