summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-03-23 21:29:51 -0600
committerKarl Williamson <khw@cpan.org>2019-03-29 12:38:05 -0600
commit0d40ea5e98ce5de7a1a2facb17e53e315155a577 (patch)
tree2bfc04c1a5a55d8a4e249be19672cb95e3f3d001 /t/TEST
parent8e48a48cc5006a06110dd20994b419be393e42ce (diff)
downloadperl-0d40ea5e98ce5de7a1a2facb17e53e315155a577.tar.gz
Remove zero length valgrind files at end.
This resolves [perl #131135]
Diffstat (limited to 't/TEST')
-rwxr-xr-xt/TEST5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/TEST b/t/TEST
index fb293d4141..a9c844f605 100755
--- a/t/TEST
+++ b/t/TEST
@@ -982,6 +982,11 @@ sub _cleanup_valgrind {
unlink _find_files('cachegrind.out.\d+$',
qw ( ../t ../cpan ../ext ../dist/ ));
}
+ elsif ($$toolnm eq 'valgrind') {
+ # Remove empty, hence non-error, output files
+ unlink grep { -z } _find_files('valgrind-current',
+ qw ( ../t ../cpan ../ext ../dist/ ));
+ }
}
# Generate regexps of known bad filenames / skips from Porting/deparse-skips.txt