diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2006-11-20 05:39:34 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2006-11-20 05:39:34 +0000 |
commit | 338a0b13d22880686bfce1dbb39718f7fa30e90b (patch) | |
tree | bea601c5541116fe3b5ebf663096000fdce4d59e /test/test_seeking.sh | |
parent | 2378fb18889754f235e3e20d1f903d351e4b3a2d (diff) | |
download | flac-338a0b13d22880686bfce1dbb39718f7fa30e90b.tar.gz |
add logging of command to valgrind log
Diffstat (limited to 'test/test_seeking.sh')
-rwxr-xr-x | test/test_seeking.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_seeking.sh b/test/test_seeking.sh index ec656255..d8b3089f 100755 --- a/test/test_seeking.sh +++ b/test/test_seeking.sh @@ -44,6 +44,7 @@ metaflac --help 1>/dev/null 2>/dev/null || die "ERROR can't find metaflac execut run_flac () { if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then + echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 flac $*" >>test_seeking.valgrind.log valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>test_seeking.valgrind.log else flac $* @@ -53,6 +54,7 @@ run_flac () run_metaflac () { if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then + echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 metaflac $*" >>test_seeking.valgrind.log valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 metaflac $* 4>>test_seeking.valgrind.log else metaflac $* @@ -62,6 +64,7 @@ run_metaflac () run_test_seeking () { if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then + echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 test_seeking $*" >>test_seeking.valgrind.log valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_seeking $* 4>>test_seeking.valgrind.log else test_seeking $* |