X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=6628bca212924ccbbd2c6a43265092dfbbc69711;hb=c2237219516974eb5eba3b1a71a4b1e49d72c4e0;hp=c8d5838a7f8a47a06d1804e14031e26893b91f3c;hpb=eb76b95ba4e9ea8db6ff7e499f1df8912e7c9da9;p=perl%2Fmodules%2Fautovivification.git diff --git a/Makefile.PL b/Makefile.PL index c8d5838..6628bca 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -use 5.008003; +use 5.008_003; use strict; use warnings; @@ -34,7 +34,7 @@ if ($^O eq 'MSWin32' && "$]" < 5.009) { } # Fork emulation got "fixed" in 5.10.1 -if ($^O eq 'MSWin32' && "$]" < 5.010001) { +if ($^O eq 'MSWin32' && "$]" < 5.010_001) { push @DEFINES, '-DA_FORKSAFE=0'; } @@ -97,3 +97,12 @@ WriteMakefile( }, %macro, ); + +package MY; + +sub postamble { + return <<'POSTAMBLE'; +testdeb: all + PERL_DL_NONLAZY=1 PERLDB_OPTS="NonStop=1" $(FULLPERLRUN) -MTAP::Harness -e 'TAP::Harness->new({verbosity => q{$(VERBOSE)}, lib => [ q{$(INST_LIB)}, q{$(INST_ARCHLIB)} ], switches => [ q{-d} ]})->runtests(@ARGV)' $(TEST_FILES) +POSTAMBLE +}