From af3145ebba129afc066d2a6bf843679cae8b81e3 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Fri, 27 Dec 2002 21:07:20 +0000 Subject: [PATCH] tweak Valgrind invocation to show more callers --- test/test_bins.sh | 2 +- test/test_flac.sh | 2 +- test/test_grabbag.sh | 2 +- test/test_libFLAC++.sh | 2 +- test/test_libFLAC.sh | 2 +- test/test_libOggFLAC++.sh | 2 +- test/test_libOggFLAC.sh | 2 +- test/test_metaflac.sh | 4 ++-- test/test_streams.sh | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/test/test_bins.sh b/test/test_bins.sh index f79c71c..f0a3165 100755 --- a/test/test_bins.sh +++ b/test/test_bins.sh @@ -33,7 +33,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=10 --logfile-fd=4 flac $* 4>>valgrind.log + valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>valgrind.log else flac $* fi diff --git a/test/test_flac.sh b/test/test_flac.sh index d7fbdba..9bce64e 100755 --- a/test/test_flac.sh +++ b/test/test_flac.sh @@ -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=10 --logfile-fd=4 flac $* 4>>valgrind.log + valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>valgrind.log else flac $* fi diff --git a/test/test_grabbag.sh b/test/test_grabbag.sh index 77f998f..1ed08e9 100755 --- a/test/test_grabbag.sh +++ b/test/test_grabbag.sh @@ -32,7 +32,7 @@ test_cuesheet -h 1>/dev/null 2>/dev/null || die "ERROR can't find test_cuesheet run_test_cuesheet () { if [ "$FLAC__VALGRIND" = yes ] ; then - valgrind --leak-check=yes --show-reachable=yes --num-callers=10 --logfile-fd=4 test_cuesheet $* 4>>valgrind.log + valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_cuesheet $* 4>>valgrind.log else test_cuesheet $* fi diff --git a/test/test_libFLAC++.sh b/test/test_libFLAC++.sh index db3857d..a5e6dfd 100755 --- a/test/test_libFLAC++.sh +++ b/test/test_libFLAC++.sh @@ -31,7 +31,7 @@ export PATH run_test_libFLACpp () { if [ "$FLAC__VALGRIND" = yes ] ; then - valgrind --leak-check=yes --show-reachable=yes --num-callers=10 --logfile-fd=4 test_libFLAC++ $* 4>>valgrind.log + valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_libFLAC++ $* 4>>valgrind.log else test_libFLAC++ $* fi diff --git a/test/test_libFLAC.sh b/test/test_libFLAC.sh index 5e7927e..2903457 100755 --- a/test/test_libFLAC.sh +++ b/test/test_libFLAC.sh @@ -31,7 +31,7 @@ export PATH run_test_libFLAC () { if [ "$FLAC__VALGRIND" = yes ] ; then - valgrind --leak-check=yes --show-reachable=yes --num-callers=10 --logfile-fd=4 test_libFLAC $* 4>>valgrind.log + valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 --workaround-gcc296-bugs=yes test_libFLAC $* 4>>valgrind.log else test_libFLAC $* fi diff --git a/test/test_libOggFLAC++.sh b/test/test_libOggFLAC++.sh index 35ff5dc..6036239 100755 --- a/test/test_libOggFLAC++.sh +++ b/test/test_libOggFLAC++.sh @@ -31,7 +31,7 @@ export PATH run_test_libOggFLACpp () { if [ "$FLAC__VALGRIND" = yes ] ; then - valgrind --leak-check=yes --show-reachable=yes --num-callers=10 --logfile-fd=4 test_libOggFLAC++ $* 4>>valgrind.log + valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_libOggFLAC++ $* 4>>valgrind.log else test_libOggFLAC++ $* fi diff --git a/test/test_libOggFLAC.sh b/test/test_libOggFLAC.sh index e767fab..2d2660b 100755 --- a/test/test_libOggFLAC.sh +++ b/test/test_libOggFLAC.sh @@ -31,7 +31,7 @@ export PATH run_test_libOggFLAC () { if [ "$FLAC__VALGRIND" = yes ] ; then - valgrind --leak-check=yes --show-reachable=yes --num-callers=10 --logfile-fd=4 test_libOggFLAC $* 4>>valgrind.log + valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_libOggFLAC $* 4>>valgrind.log else test_libOggFLAC $* fi diff --git a/test/test_metaflac.sh b/test/test_metaflac.sh index 64c2db2..b63099b 100755 --- a/test/test_metaflac.sh +++ b/test/test_metaflac.sh @@ -35,7 +35,7 @@ metaflac --help 1>/dev/null 2>/dev/null || die "ERROR can't find metaflac execut run_flac () { if [ "$FLAC__VALGRIND" = yes ] ; then - valgrind --leak-check=yes --show-reachable=yes --num-callers=10 --logfile-fd=4 flac $* 4>>valgrind.log + valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>valgrind.log else flac $* fi @@ -44,7 +44,7 @@ run_flac () run_metaflac () { if [ "$FLAC__VALGRIND" = yes ] ; then - valgrind --leak-check=yes --show-reachable=yes --num-callers=10 --logfile-fd=4 metaflac $* 4>>valgrind.log + valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 metaflac $* 4>>valgrind.log else metaflac $* fi diff --git a/test/test_streams.sh b/test/test_streams.sh index c187adb..6f52400 100755 --- a/test/test_streams.sh +++ b/test/test_streams.sh @@ -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=10 --logfile-fd=4 flac $* 4>>valgrind.log + valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>valgrind.log else flac $* fi -- 2.7.4