tweak Valgrind invocation to show more callers
authorJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 27 Dec 2002 21:07:20 +0000 (21:07 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 27 Dec 2002 21:07:20 +0000 (21:07 +0000)
test/test_bins.sh
test/test_flac.sh
test/test_grabbag.sh
test/test_libFLAC++.sh
test/test_libFLAC.sh
test/test_libOggFLAC++.sh
test/test_libOggFLAC.sh
test/test_metaflac.sh
test/test_streams.sh

index f79c71c..f0a3165 100755 (executable)
@@ -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
index d7fbdba..9bce64e 100755 (executable)
@@ -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
index 77f998f..1ed08e9 100755 (executable)
@@ -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
index db3857d..a5e6dfd 100755 (executable)
@@ -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
index 5e7927e..2903457 100755 (executable)
@@ -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
index 35ff5dc..6036239 100755 (executable)
@@ -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
index e767fab..2d2660b 100755 (executable)
@@ -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
index 64c2db2..b63099b 100755 (executable)
@@ -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
index c187adb..6f52400 100755 (executable)
@@ -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