Subject: | Undefined subroutine &Test2::API::test2_in_preload called (0.0304) |
On some of my smokers the test suite fails:
...
"/opt/perl-5.22.3D/bin/perl" "-Iinc" "-MModule::Install::ExtraTests" "-e" "Module::Install::ExtraTests::__harness('Test::Harness', 0, 'xt/author', '', '', 0, 'blib/lib', 'blib/arch')" t/01_misc.t
Undefined subroutine &Test2::API::test2_in_preload called at inc/Test/Builder/Module.pm line 77.
BEGIN failed--compilation aborted at inc/Test/More.pm line 22.
Compilation failed in require at t/01_misc.t line 4.
BEGIN failed--compilation aborted at t/01_misc.t line 4.
t/01_misc.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
...
This seems to happen if older versions of Test::Builder::Module and Test::More is installed.
And also it looks strange to me that Test::Builder::Module is mentioned in the prereqs, but at the same time it seems to be bundled in the distribution (looking at the "inc/" path above).