From 157c9241768cc2a3451a3a6d3339ac019ac9383a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Wed, 21 Jul 2010 20:49:36 +0000 Subject: [PATCH] fate: delete useless artifacts after running each test Originally committed as revision 24395 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/fate-run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 8abec197c5..adcbabc3a7 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -63,6 +63,7 @@ pcm(){ regtest(){ t="${test#$2-}" ref=${base}/ref/$2/$t + cleanfiles="$cleanfiles $outfile $errfile" outfile=tests/data/regression/$2/$t errfile=tests/data/$t.$2.err ${base}/${1}-regression.sh $t $2 $3 "$target_exec" "$target_path" @@ -77,6 +78,7 @@ lavftest(){ } lavfitest(){ + cleanfiles="tests/data/lavfi/*" regtest lavfi lavfi tests/vsynth1 } @@ -113,4 +115,4 @@ esac cmperr=$? test $err = 0 && err=$cmperr -test $err = 0 && rm -f $outfile $errfile +test $err = 0 && rm -f $outfile $errfile $cleanfiles