Skip to content

Commit 0d40ea5

Browse files
committed
Remove zero length valgrind files at end.
This resolves [perl #131135]
1 parent 8e48a48 commit 0d40ea5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/TEST

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,11 @@ sub _cleanup_valgrind {
982982
unlink _find_files('cachegrind.out.\d+$',
983983
qw ( ../t ../cpan ../ext ../dist/ ));
984984
}
985+
elsif ($$toolnm eq 'valgrind') {
986+
# Remove empty, hence non-error, output files
987+
unlink grep { -z } _find_files('valgrind-current',
988+
qw ( ../t ../cpan ../ext ../dist/ ));
989+
}
985990
}
986991

987992
# Generate regexps of known bad filenames / skips from Porting/deparse-skips.txt

0 commit comments

Comments
 (0)