Skip Menu |

This queue is for tickets about the Module-Depends CPAN distribution.

Report information
The Basics
Id: 121820
Status: new
Priority: 0/
Queue: Module-Depends

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.16
Fixed in: (no value)



Subject: Tests fail on Perl without "." in @INC
Perl 5.26.0 removes "." from @INC and tests fail when invoked directly: $ perl -Ilib t/depends.t 1..19 ok 1 - require Module::Depends; ok 2 - require Module::Depends::Intrusive; ok 3 ok 4 - An object of class 'Module::Depends::Intrusive' isa 'Module::Depends::Intrusive' ok 5 - got our own requires ok 6 - got our own build_requires ok 7 - got other (makemaker) requires ok 8 - fails on not existing dir ok 9 - fails on empty dir ok 10 - use Module::Build VERSION; no longer trips us up ok 11 - got our own requires, non-intrusively ok 12 - got our own requires, non-intrusively, from a distance ok 13 - use Inline::MakeMaker; no longer trips us up ok 14 - Module::Install no go boom ok 15 - Module::Install build_requires ok 16 - Module::Install requires do "Makefile.PL" failed, '.' is no longer in @INC; did you mean do "./Makefile.PL"? at /home/test/fedora/perl-Module-Depends/Module-Depends-0.15/t/template-extract/Build.PL line 2. not ok 17 - Template::Extract Module::Install requires # Failed test 'Template::Extract Module::Install requires' # at t/depends.t line 96. # Structures begin differing at: # $got->{Template} = Does not exist # $expected->{Template} = '2' ok 18 - odd outcome use of FindBin ok 19 - Makefile.PL exiting false should not be considered an error # Looks like you failed 1 test of 19. Current Test::Harness adds "." in @INC as a workaround so that "make test" does not fail. But a real fix is desired in t/template-extract/Build.PL: #!/usr/bin/env perl do 'Makefile.PL'; The "do" should do do './Makefile.PL';