Subject: | Tests fail when no '.' in @INC ( ) |
When no '.' is in @INC on Perl 5.25.11 or newer ( the default when executing by hand, or when PERL_USE_UNSAFE_INC=0 is set in ENV )
Tests fail as follows:
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
Tests fail as follows:
PERL_DL_NONLAZY=1 "/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'use Refactor;'
# at t/basic.t line 10.
# Tried to use 'Refactor'.
# Error: Can't locate Refactor.pm in @INC (you may need to install the Refactor module) (@INC contains: /home/ryan/.cpanm/work/1492249247.5322/Devel-Refactor-0.05/blib/lib /home/ryan/.cpanm/work/1492249247.5322/Devel-Refactor-0.05/blib/arch /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0 /home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux /home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0) at t/basic.t line 10.
# BEGIN failed--compilation aborted at t/basic.t line 10.
Can't locate object method "new" via package "Devel::Refactor" (perhaps you forgot to load "Devel::Refactor"?) at t/basic.t line 13.
# Looks like your test exited with 255 just after 1.
t/basic.t ...............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 7/7 subtests
t/extract_subroutine.t .. ok
t/rename_subroutine.t ... ok
See Also: http://cpan.simcop2387.info/logs/Devel::Refactor_incfailure.log
--
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )