]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Forge a better testdeb rule
authorVincent Pit <vince@profvince.com>
Mon, 18 Jan 2010 22:04:33 +0000 (23:04 +0100)
committerVincent Pit <vince@profvince.com>
Mon, 18 Jan 2010 22:10:03 +0000 (23:10 +0100)
Makefile.PL

index 28b5d19b41065196e7396f2fd6f7763797b1c06c..1db1f75d3717637697f87a0c73d0a0c674305611 100644 (file)
@@ -69,6 +69,6 @@ package MY;
 sub postamble {
  return <<'POSTAMBLE';
 testdeb: all
-       PERL_DL_NONLAZY=1 PERLDB_OPTS="NonStop=1" prove --exec='$(PERL) -d -T -I$(INST_LIB) -I$(INST_ARCHLIB)' $(TEST_FILES)
+       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
 }