diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-08-01 23:02:26 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-08-01 23:02:26 +1000 |
commit | d06d985487cf38f100c5506328285f3f4c6eaaaf (patch) | |
tree | 86d57aef62f9d728b313a06f262b7eb1bf7758c3 /test | |
parent | f742b93bb028f9b2ff4206afca153ec069adad7a (diff) | |
download | flac-d06d985487cf38f100c5506328285f3f4c6eaaaf.tar.gz |
test/ : Use new --no-error-on-compression-fail option as needed.
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_flac.sh | 4 | ||||
-rwxr-xr-x | test/test_metaflac.sh | 6 | ||||
-rwxr-xr-x | test/test_seeking.sh | 6 | ||||
-rwxr-xr-x | test/test_streams.sh | 6 |
4 files changed, 11 insertions, 11 deletions
diff --git a/test/test_flac.sh b/test/test_flac.sh index f24893f4..498f7a83 100755 --- a/test/test_flac.sh +++ b/test/test_flac.sh @@ -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 } diff --git a/test/test_metaflac.sh b/test/test_metaflac.sh index c6f7ed16..aeed457d 100755 --- a/test/test_metaflac.sh +++ b/test/test_metaflac.sh @@ -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 - } diff --git a/test/test_seeking.sh b/test/test_seeking.sh index ce76de07..7708c580 100755 --- a/test/test_seeking.sh +++ b/test/test_seeking.sh @@ -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 } diff --git a/test/test_streams.sh b/test/test_streams.sh index 78497820..14baf839 100755 --- a/test/test_streams.sh +++ b/test/test_streams.sh @@ -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 } |