]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/commitdiff
Generate suppressions when running 'make test' without prior 'make'
authorVincent Pit <vince@profvince.com>
Sun, 28 Sep 2008 01:08:23 +0000 (03:08 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 28 Sep 2008 01:08:23 +0000 (03:08 +0200)
Makefile.PL

index cb1e72920941e3ec29434d90363cd19eb535ef49..28863db8cac9692ac15b5932a23c170890c86664 100644 (file)
@@ -124,6 +124,11 @@ WriteMakefile(
 
 package MY;
 
+sub test {
+ my $test = shift->SUPER::test(@_);
+ return "test :: Makefile.bak blib/archpub/Test/Valgrind/perlTestValgrind.supp\n" . $test;
+}
+
 sub postamble {
  <<'POSTAMBLE';
 clean ::