mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
test/ : Use new --no-error-on-compression-fail option as needed.
This commit is contained in:
@@ -65,9 +65,9 @@ run_flac ()
|
||||
{
|
||||
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
|
||||
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_flac.valgrind.log
|
||||
valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac $* 4>>test_flac.valgrind.log
|
||||
valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac --no-error-on-compression-fail $* 4>>test_flac.valgrind.log
|
||||
else
|
||||
flac $*
|
||||
flac --no-error-on-compression-fail $*
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -68,9 +68,9 @@ run_flac ()
|
||||
{
|
||||
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
|
||||
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_metaflac.valgrind.log
|
||||
valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac $* 4>>test_metaflac.valgrind.log
|
||||
valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac --no-error-on-compression-fail $* 4>>test_metaflac.valgrind.log
|
||||
else
|
||||
flac $*
|
||||
flac --no-error-on-compression-fail $*
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -433,7 +433,7 @@ tonegenerator ()
|
||||
}
|
||||
|
||||
}' /dev/null |
|
||||
flac --silent \
|
||||
flac --no-error-on-compression-fail --silent \
|
||||
--endian=big --channels=1 --bps=24 --sample-rate=$1 --sign=unsigned -
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ die ()
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ x = x"$1" ] ; then
|
||||
if [ x = x"$1" ] ; then
|
||||
BUILD=debug
|
||||
else
|
||||
BUILD="$1"
|
||||
@@ -52,9 +52,9 @@ run_flac ()
|
||||
{
|
||||
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
|
||||
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_seeking.valgrind.log
|
||||
valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac $* 4>>test_seeking.valgrind.log
|
||||
valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac --no-error-on-compression-fail $* 4>>test_seeking.valgrind.log
|
||||
else
|
||||
flac $*
|
||||
flac --no-error-on-compression-fail $*
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ die ()
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ x = x"$1" ] ; then
|
||||
if [ x = x"$1" ] ; then
|
||||
BUILD=debug
|
||||
else
|
||||
BUILD="$1"
|
||||
@@ -48,9 +48,9 @@ run_flac ()
|
||||
{
|
||||
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
|
||||
echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_streams.valgrind.log
|
||||
valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac $* 4>>test_streams.valgrind.log
|
||||
valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac --no-error-on-compression-fail $* 4>>test_streams.valgrind.log
|
||||
else
|
||||
flac $*
|
||||
flac --no-error-on-compression-fail $*
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user