test/ : Use new --no-error-on-compression-fail option as needed.

This commit is contained in:
Erik de Castro Lopo
2013-08-01 23:02:26 +10:00
parent f742b93bb0
commit d06d985487
4 changed files with 11 additions and 11 deletions

View File

@@ -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
}