Subject: | nmake test_more fail (with patch); incorrect META.yml |
META.yml in 1.0700:
name: DateTime-Format-Strptime
version: 1.0601
Makefile.PL should contin special case for Win32. Patch:
sub MY::postamble {
return $^O eq 'MSWin32'?
<<'MAKE_FRAG'
test_more :: pure_all
SET PERL_DL_NONLAZY=1
$(FULLPERLRUN) "-MExtUtils::Command::MM" "-e"
"test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" t/more/*.t
MAKE_FRAG
:
<<'MAKE_FRAG';
test_more :: pure_all
PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e"
"test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" t/more/*.t
MAKE_FRAG
}
It still fails with error:
SET PERL_DL_NONLAZY=1
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\arch')" t/more/*.t
t/more/*....t/more/*.t does not exist
FAILED--1 test script could be run, alas--no output ever seen
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
Test::Harness 2.48
perl v5.8.7 built for MSWin32-x86-multi-thread
Binary build 813
-------
Alexandr Ciornii, http://chorny.net