From: Vincent Pit Date: Sat, 12 Jul 2014 16:52:31 +0000 (+0200) Subject: Add a testdeb target to Makefiles X-Git-Tag: v0.13~9 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=d0a8557c5051ae08a40440d93d5f17575b75cfc4;p=perl%2Fmodules%2Fautovivification.git Add a testdeb target to Makefiles --- diff --git a/Makefile.PL b/Makefile.PL index ff784d6..6628bca 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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 +}