make valgrind output go into test-specific log file instead of one massive valgrind.log
authorJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 30 Dec 2002 23:31:47 +0000 (23:31 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 30 Dec 2002 23:31:47 +0000 (23:31 +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 f0a3165..e59f9cb 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=100 --logfile-fd=4 flac $* 4>>valgrind.log
+               valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>test_bins.valgrind.log
        else
                flac $*
        fi
index 9bce64e..271ad19 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=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
index 1ed08e9..f0ecd89 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=100 --logfile-fd=4 test_cuesheet $* 4>>valgrind.log
+               valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_cuesheet $* 4>>test_grabbag.valgrind.log
        else
                test_cuesheet $*
        fi
index a5e6dfd..c0a86f0 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=100 --logfile-fd=4 test_libFLAC++ $* 4>>valgrind.log
+               valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_libFLAC++ $* 4>>test_libFLAC++.valgrind.log
        else
                test_libFLAC++ $*
        fi
index da0ceab..fb513e7 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=100 --logfile-fd=4 test_libFLAC $* 4>>valgrind.log
+               valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_libFLAC $* 4>>test_libFLAC.valgrind.log
        else
                test_libFLAC $*
        fi
index 6036239..ac2fecd 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=100 --logfile-fd=4 test_libOggFLAC++ $* 4>>valgrind.log
+               valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_libOggFLAC++ $* 4>>test_libOggFLAC++.valgrind.log
        else
                test_libOggFLAC++ $*
        fi
index 2d2660b..5c51586 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=100 --logfile-fd=4 test_libOggFLAC $* 4>>valgrind.log
+               valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_libOggFLAC $* 4>>test_libOggFLAC.valgrind.log
        else
                test_libOggFLAC $*
        fi
index b63099b..b416503 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=100 --logfile-fd=4 flac $* 4>>valgrind.log
+               valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>test_metaflac.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=100 --logfile-fd=4 metaflac $* 4>>valgrind.log
+               valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 metaflac $* 4>>test_metaflac.valgrind.log
        else
                metaflac $*
        fi
index 6f52400..ef09231 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=100 --logfile-fd=4 flac $* 4>>valgrind.log
+               valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>test_streams.valgrind.log
        else
                flac $*
        fi