From: Vincent Pit Date: Sun, 28 Sep 2008 01:08:23 +0000 (+0200) Subject: Generate suppressions when running 'make test' without prior 'make' X-Git-Tag: v0.07~10 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=a92a30a59d0760084af9299e8faf69c3c2bf9758;p=perl%2Fmodules%2FTest-Valgrind.git Generate suppressions when running 'make test' without prior 'make' --- diff --git a/Makefile.PL b/Makefile.PL index cb1e729..28863db 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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 ::