]> git.sesse.net Git - ffmpeg/commitdiff
tests: Fix test name for pixfmts tests
authorTimothy Gu <timothygu99@gmail.com>
Mon, 10 Nov 2014 05:37:18 +0000 (21:37 -0800)
committerTimothy Gu <timothygu99@gmail.com>
Mon, 10 Nov 2014 05:37:18 +0000 (21:37 -0800)
tests/fate-run.sh

index f00a0be97f942044255f1e033f98ef04e09de833..f78e4fcfd5a3faf28eadb4afadd7ce7eff21f96e 100755 (executable)
@@ -203,12 +203,14 @@ pixfmts(){
     $showfiltfmts $filter | awk -F '[ \r]' '/^INPUT/{ fmt=substr($3, 5); print fmt }' | sort >$in_fmts
     pix_fmts=$(comm -12 $scale_exclude_fmts $in_fmts)
 
+    outertest=$test
     for pix_fmt in $pix_fmts; do
         test=$pix_fmt
         video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt
     done
 
     rm $in_fmts $scale_in_fmts $scale_out_fmts $scale_exclude_fmts
+    test=$outertest
 }
 
 mkdir -p "$outdir"