]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/commitdiff
More suppressions bis (also when no compiler is available)
authorVincent Pit <vince@profvince.com>
Sun, 28 Sep 2008 13:28:51 +0000 (15:28 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 28 Sep 2008 13:28:51 +0000 (15:28 +0200)
gen.pl

diff --git a/gen.pl b/gen.pl
index b995b50552105da4dadb16e5a130cfd4e9cb418e..eb751e417ff9f62136cd0fa0ef99112e685edb2b 100755 (executable)
--- a/gen.pl
+++ b/gen.pl
@@ -19,12 +19,12 @@ if ($@) {
   XSLoader::load('Test::Valgrind', \$Test::Valgrind::VERSION);
  ";
  unless ($@) {
-  plan tests => 1;
   Test::Valgrind::notleak("valgrind it!");
-  fail('fake');
  } else {
   diag $@;
  }
+ plan tests => 1;
+ fail('fake');
 }
 
 1;