add configure options --disable-thorough-tests which breaks up testing into 3 levels: 0 for basic testing, 1 for thorough testing, 2 for exhaustive testing

This commit is contained in:
Josh Coalson
2006-05-25 02:48:22 +00:00
parent daa68425c2
commit de9091e4a7
14 changed files with 99 additions and 89 deletions

View File

@@ -47,7 +47,7 @@ flac --help 1>/dev/null 2>/dev/null || die "ERROR can't find flac executable"
run_flac ()
{
if [ x"$FLAC__VALGRIND" = xyes ] ; then
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 flac $* 4>>test_flac.valgrind.log
else
flac $*
@@ -56,7 +56,7 @@ run_flac ()
run_metaflac ()
{
if [ x"$FLAC__VALGRIND" = xyes ] ; then
if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 metaflac $* 4>>test_flac.valgrind.log
else
metaflac $*