make valgrind output go into test-specific log file instead of one massive valgrind.log

This commit is contained in:
Josh Coalson
2002-12-30 23:31:47 +00:00
parent 0b3617c25f
commit 80936c5ba1
9 changed files with 10 additions and 10 deletions

View File

@@ -32,7 +32,7 @@ flac --help 1>/dev/null 2>/dev/null || die "ERROR can't find flac executable"
run_flac ()
{
if [ "$FLAC__VALGRIND" = yes ] ; then
valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>valgrind.log
valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>test_flac.valgrind.log
else
flac $*
fi