]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - gen.pl
More suppressions bis (also when no compiler is available)
[perl/modules/Test-Valgrind.git] / 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;