]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - Makefile.PL
Capture STDOUT so that its output doesn't mix with our test results
[perl/modules/Test-Valgrind.git] / Makefile.PL
index cb1e72920941e3ec29434d90363cd19eb535ef49..dcac0c9053ad00db193941d1afe1bd59061b81f8 100644 (file)
@@ -108,6 +108,7 @@ WriteMakefile(
     PREREQ_PM     => {
         'Carp'                  => 0,
         'Exporter'              => 0,
+        'Fcntl'                 => 0,
         'POSIX'                 => 0,
         'Perl::Destruct::Level' => 0,
         'Test::Builder'         => 0,
@@ -124,6 +125,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 ::