Subject: | Fails tests when no "." in @INC ( Can't locate t/burn.pl in @INC ) |
when no '.' is in @INC ( for example, when installing by hand on Perl >5.25.11 , or with PERL_USE_UNSAFE_INC=0 in env ), tests fail as follows:
PERL_DL_NONLAZY=1 "<>/perl5.25.11" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't locate t/burn.pl in @INC (@INC contains: <>) at t/getrusage.t line 17.
t/getrusage.t .....
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/getpriority.t ... ok
t/get_rlimits.t ... ok
t/getrlimit.t ..... ok
Can't locate t/burn.pl in @INC (@INC contains: <>) at t/times.t line 15.
t/times.t .........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/setpriority.t ... ok
t/setrlimit.t ..... ok
t/pod-coverage.t .. ok
t/pod.t ........... ok
Test Summary Report
-------------------
t/getrusage.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/times.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=9, Tests=66, 1 wallclock secs ( 0.07 usr 0.03 sys + 0.41 cusr 0.12 csys = 0.63 CPU)
Result: FAIL
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
PERL_DL_NONLAZY=1 "<>/perl5.25.11" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't locate t/burn.pl in @INC (@INC contains: <>) at t/getrusage.t line 17.
t/getrusage.t .....
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/getpriority.t ... ok
t/get_rlimits.t ... ok
t/getrlimit.t ..... ok
Can't locate t/burn.pl in @INC (@INC contains: <>) at t/times.t line 15.
t/times.t .........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/setpriority.t ... ok
t/setrlimit.t ..... ok
t/pod-coverage.t .. ok
t/pod.t ........... ok
Test Summary Report
-------------------
t/getrusage.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/times.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=9, Tests=66, 1 wallclock secs ( 0.07 usr 0.03 sys + 0.41 cusr 0.12 csys = 0.63 CPU)
Result: FAIL
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )