Unbreak parallel lavfi testing
authorMåns Rullgård <mans@mansr.com>
Sat, 24 Jul 2010 17:13:32 +0000 (17:13 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 24 Jul 2010 17:13:32 +0000 (17:13 +0000)
Originally committed as revision 24485 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/fate-run.sh
tests/lavfi-regression.sh

index adcbabc..623709f 100755 (executable)
@@ -78,7 +78,7 @@ lavftest(){
 }
 
 lavfitest(){
-    cleanfiles="tests/data/lavfi/*"
+    cleanfiles="tests/data/lavfi/${test#lavfi-}.nut"
     regtest lavfi lavfi tests/vsynth1
 }
 
index dbc986c..c20f427 100755 (executable)
@@ -89,8 +89,10 @@ fi
 if [ -n "$do_pixdesc_be" ] || [ -n "$do_pixdesc_le" ]; then
     pix_fmts="$($ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^IO' | cut -d' ' -f2)"
     for pix_fmt in $pix_fmts; do
-        do_video_encoding "lavfi_pixdesc-${pix_fmt}.nut" "" \
+        output=lavfi_pixdesc-${pix_fmt}.nut
+        do_video_encoding $output "" \
             "-vf slicify=random,format=$pix_fmt,pixdesctest -vcodec rawvideo -pix_fmt $pix_fmt"
+        rm ${outfile}${output}
     done
 fi