Subject: | t/05_MRO.t fails with 5.22.3-RC2 and 5.24.1-RC2 (removal of "." from @INC?) |
I see the following failure in t/05_MRO.t, but only with perl 5.22.3-RC2 and 5.24.1-RC2:
# Failed test 'use t::lib::F;'
# at t/05_MRO.t line 10.
# Tried to use 't::lib::F'.
# Error: Base class package "t::lib::C" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: /tmpfs/.cpan-build-cpansand/2016072906/Class-C3-XS-0.13-4/inc /tmpfs/.cpan-build-cpansand/2016072906/Class-C3-XS-0.13-4/blib/lib /tmpfs/.cpan-build-cpansand/2016072906/Class-C3-XS-0.13-4/blib/arch /opt/perl-5.22.3-RC2/lib/site_perl/5.22.3/x86_64-linux /opt/perl-5.22.3-RC2/lib/site_perl/5.22.3 /opt/perl-5.22.3-RC2/lib/5.22.3/x86_64-linux /opt/perl-5.22.3-RC2/lib/5.22.3 .).
# at t/lib/F.pm line 2.
# BEGIN failed--compilation aborted at t/lib/F.pm line 2.
# Compilation failed in require at t/05_MRO.t line 10.
# BEGIN failed--compilation aborted at t/05_MRO.t line 10.
# Failed test '... got the right MRO for t::lib::F'
# at t/05_MRO.t line 26.
# Structures begin differing at:
# $got->[1] = Does not exist
# $expected->[1] = 't::lib::C'
# Looks like you failed 2 tests of 3.
t/05_MRO.t .........................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
Without further checking I suspect that the perldelta entry titled "Core modules and tools no longer search "." for optional modules" applies here.