[FFmpeg-cvslog] r24395 - trunk/tests/fate-run.sh

mru subversion
Wed Jul 21 22:49:37 CEST 2010


Author: mru
Date: Wed Jul 21 22:49:36 2010
New Revision: 24395

Log:
fate: delete useless artifacts after running each test

Modified:
   trunk/tests/fate-run.sh

Modified: trunk/tests/fate-run.sh
==============================================================================
--- trunk/tests/fate-run.sh	Wed Jul 21 22:49:34 2010	(r24394)
+++ trunk/tests/fate-run.sh	Wed Jul 21 22:49:36 2010	(r24395)
@@ -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



More information about the ffmpeg-cvslog mailing list