Subject: | Test fails with ExtUtils-MakeMaker-6.07 |
The t/default_make_test/with_extra_tests.t fails with ExtUtils-MakeMaker-6.07:
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t
# You have make command: make
t/00_compile.t .......................... ok
# Failed test 'overwrote test_dynamic'
# at t/default_make_test/with_extra_tests.t line 9.
# undef
# doesn't match '(?^:-MFoo::Bar)'
# Looks like you failed 1 test of 2.
t/default_make_test/with_extra_tests.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
The ExtUtils::MakeMaker changed how to generated Makefile looks like:
-test_dynamic :: pure_all
+test_dynamic :: subdirs-test_dynamic
$(FULLPERLRUN) "-MFoo::Bar" "-Iinc" "-MModule::Install::ExtraTests" "-e" "Module::Install::ExtraTests::__harness('Test::Harness', 1, 'xt/author', '', '', $(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)'); " $(TEST_FILES)
Thus the regular expression expecting the pure_all cannot locate the command.