diff options
author | Karl Williamson <khw@cpan.org> | 2019-03-23 21:29:51 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-03-29 12:38:05 -0600 |
commit | 0d40ea5e98ce5de7a1a2facb17e53e315155a577 (patch) | |
tree | 2bfc04c1a5a55d8a4e249be19672cb95e3f3d001 /t/TEST | |
parent | 8e48a48cc5006a06110dd20994b419be393e42ce (diff) | |
download | perl-0d40ea5e98ce5de7a1a2facb17e53e315155a577.tar.gz |
Remove zero length valgrind files at end.
This resolves [perl #131135]
Diffstat (limited to 't/TEST')
-rwxr-xr-x | t/TEST | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |