diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-11-14 16:22:26 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-11-14 16:22:26 +0000 |
commit | 4f9287d3eaf6618730a35a0d11810447b2f65449 (patch) | |
tree | ac8766aaf58ed2e84651411c1ee9a7d8bac7ec93 /t/TEST | |
parent | 54bd407c97e6a92e0d8fe74bdc8d886f888a65cc (diff) | |
download | perl-4f9287d3eaf6618730a35a0d11810447b2f65449.tar.gz |
Provide a crude way for specifying the command line for
make test.valgrind
p4raw-id: //depot/perl@26129
Diffstat (limited to 't/TEST')
-rwxr-xr-x | t/TEST | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -364,9 +364,10 @@ EOT my $perl = $ENV{PERL} || './perl'; my $redir = $^O eq 'VMS' ? '2>&1' : ''; if ($ENV{PERL_VALGRIND}) { - $perl = "valgrind --suppressions=perl.supp --leak-check=yes " - . "--leak-resolution=high --show-reachable=yes " - . "--num-callers=50 --logfile-fd=3 $perl"; + my $valgrind = $ENV{VALGRIND} // 'valgrind'; + $perl = "$valgrind --suppressions=perl.supp --leak-check=yes " + . "--leak-resolution=high --show-reachable=yes " + . "--num-callers=50 --logfile-fd=3 $perl"; $redir = "3>$valgrind_log"; } my $run = "$perl" . _quote_args("$testswitch $switch $utf8") |