X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=gen.pl;h=99d5ca5cbf196d17b7af18e2f876b243056f87f7;hb=0e72be5f3401932cb010b7069470e9ee999ff287;hp=828a6b9279380589ced71dade59828d527b155de;hpb=f6f6b610f4471652428707ae0203563eae291669;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/gen.pl b/gen.pl index 828a6b9..99d5ca5 100755 --- a/gen.pl +++ b/gen.pl @@ -4,14 +4,14 @@ use strict; use warnings; use Test::More; -eval <<'EOD'; -use Test::Valgrind - diag => 1, - no_test => 1, - no_supp => 1, - callers => 50, - extra => [ qw/--show-reachable=yes --gen-suppressions=all/ ] -EOD +eval { + use Test::Valgrind + diag => 1, + no_test => 1, + no_supp => 1, + callers => 50, + extra => [ qw/--show-reachable=yes --gen-suppressions=all/ ]; +}; if ($@) { plan skip_all => 'Test::Valgrind is required to run test your distribution with valgrind'; } else { @@ -25,4 +25,3 @@ if ($@) { } 1; -