summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2007-06-20 01:26:29 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2007-06-20 01:26:29 +0000
commit89f01a8019e6ef1000c92eaf28dc8cc019b82471 (patch)
tree4615a61812c5834c39dacfebbd3ac3e7f81b86e8 /test
parente002f83703d492b97f99aabf02771248fe22fd93 (diff)
downloadflac-89f01a8019e6ef1000c92eaf28dc8cc019b82471.tar.gz
switch from --logfile-fd= to --log-fd= to match newer valgrind options
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_bins.sh2
-rwxr-xr-xtest/test_flac.sh4
-rwxr-xr-xtest/test_grabbag.sh4
-rwxr-xr-xtest/test_libFLAC++.sh2
-rwxr-xr-xtest/test_libFLAC.sh2
-rwxr-xr-xtest/test_metaflac.sh6
-rwxr-xr-xtest/test_seeking.sh6
-rwxr-xr-xtest/test_streams.sh2
8 files changed, 14 insertions, 14 deletions
diff --git a/test/test_bins.sh b/test/test_bins.sh
index a8c6517b..dc128904 100755
--- a/test/test_bins.sh
+++ b/test/test_bins.sh
@@ -51,7 +51,7 @@ run_flac ()
{
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 flac $*" >>test_bins.valgrind.log
- valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>test_bins.valgrind.log
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 flac $* 4>>test_bins.valgrind.log
else
flac $*
fi
diff --git a/test/test_flac.sh b/test/test_flac.sh
index 8eff7832..af916ead 100755
--- a/test/test_flac.sh
+++ b/test/test_flac.sh
@@ -59,7 +59,7 @@ run_flac ()
{
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 flac $*" >>test_flac.valgrind.log
- valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>test_flac.valgrind.log
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 flac $* 4>>test_flac.valgrind.log
else
flac $*
fi
@@ -69,7 +69,7 @@ run_metaflac ()
{
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 metaflac $*" >>test_flac.valgrind.log
- valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 metaflac $* 4>>test_flac.valgrind.log
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 metaflac $* 4>>test_flac.valgrind.log
else
metaflac $*
fi
diff --git a/test/test_grabbag.sh b/test/test_grabbag.sh
index 68a1e2df..a18a9312 100755
--- a/test/test_grabbag.sh
+++ b/test/test_grabbag.sh
@@ -45,7 +45,7 @@ run_test_cuesheet ()
{
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 test_cuesheet $*" >>test_grabbag.valgrind.log
- valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_cuesheet $* 4>>test_grabbag.valgrind.log
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 test_cuesheet $* 4>>test_grabbag.valgrind.log
else
test_cuesheet $*
fi
@@ -55,7 +55,7 @@ run_test_picture ()
{
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 test_picture $*" >>test_grabbag.valgrind.log
- valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_picture $* 4>>test_grabbag.valgrind.log
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 test_picture $* 4>>test_grabbag.valgrind.log
else
test_picture $*
fi
diff --git a/test/test_libFLAC++.sh b/test/test_libFLAC++.sh
index dfe5cfb8..550c6bd3 100755
--- a/test/test_libFLAC++.sh
+++ b/test/test_libFLAC++.sh
@@ -41,7 +41,7 @@ PATH=../obj/$BUILD/bin:$PATH
run_test_libFLACpp ()
{
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
- valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_libFLAC++ $* 4>>test_libFLAC++.valgrind.log
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 test_libFLAC++ $* 4>>test_libFLAC++.valgrind.log
else
test_libFLAC++ $*
fi
diff --git a/test/test_libFLAC.sh b/test/test_libFLAC.sh
index 0a4e7c02..5343ef04 100755
--- a/test/test_libFLAC.sh
+++ b/test/test_libFLAC.sh
@@ -40,7 +40,7 @@ PATH=../obj/$BUILD/bin:$PATH
run_test_libFLAC ()
{
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
- valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_libFLAC $* 4>>test_libFLAC.valgrind.log
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 test_libFLAC $* 4>>test_libFLAC.valgrind.log
else
test_libFLAC $*
fi
diff --git a/test/test_metaflac.sh b/test/test_metaflac.sh
index 638a3bdc..f39a3216 100755
--- a/test/test_metaflac.sh
+++ b/test/test_metaflac.sh
@@ -60,7 +60,7 @@ run_flac ()
{
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 flac $*" >>test_metaflac.valgrind.log
- valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>test_metaflac.valgrind.log
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 flac $* 4>>test_metaflac.valgrind.log
else
flac $*
fi
@@ -70,7 +70,7 @@ run_metaflac ()
{
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 metaflac $*" >>test_metaflac.valgrind.log
- valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 metaflac $* 4>>test_metaflac.valgrind.log
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 metaflac $* 4>>test_metaflac.valgrind.log
else
metaflac $*
fi
@@ -83,7 +83,7 @@ run_metaflac_silent ()
else
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 metaflac $*" >>test_metaflac.valgrind.log
- valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 metaflac $* 2>/dev/null 4>>test_metaflac.valgrind.log
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 metaflac $* 2>/dev/null 4>>test_metaflac.valgrind.log
else
metaflac $* 2>/dev/null
fi
diff --git a/test/test_seeking.sh b/test/test_seeking.sh
index 0a5c833e..8f528758 100755
--- a/test/test_seeking.sh
+++ b/test/test_seeking.sh
@@ -49,7 +49,7 @@ 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
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 flac $* 4>>test_seeking.valgrind.log
else
flac $*
fi
@@ -59,7 +59,7 @@ 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
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 metaflac $* 4>>test_seeking.valgrind.log
else
metaflac $*
fi
@@ -69,7 +69,7 @@ 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
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 test_seeking $* 4>>test_seeking.valgrind.log
else
test_seeking $*
fi
diff --git a/test/test_streams.sh b/test/test_streams.sh
index 36e1bd44..3b1dc05c 100755
--- a/test/test_streams.sh
+++ b/test/test_streams.sh
@@ -45,7 +45,7 @@ run_flac ()
{
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 flac $*" >>test_streams.valgrind.log
- valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>test_streams.valgrind.log
+ valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 flac $* 4>>test_streams.valgrind.log
else
flac $*
fi