[FFmpeg-cvslog] fate: Fix test name for pixfmts tests

Timothy Gu git at videolan.org
Thu Apr 23 22:58:34 CEST 2015


ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Sun Apr 19 20:37:43 2015 -0700| [358b7ec3099eca6e999ad9dc0da0a23571a7a2f8] | committer: Luca Barbato

fate: Fix test name for pixfmts tests

The last pixel format gets leaked as `$test` further down the pipeline.

See for example https://fate.libav.org/x86_32-netbsd-clang-no-inline-asm/20150420020104
Note the odd test names like “yuvj444p.”

CC: libav-stable at libav.org

Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=358b7ec3099eca6e999ad9dc0da0a23571a7a2f8
---

 tests/fate-run.sh |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index a0a69ad..402f9dc 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -176,12 +176,15 @@ pixfmts(){
     $showfiltfmts scale | awk -F '[ \r]' '/^OUTPUT/{ print $3 }' | sort | comm -23 - $exclude_fmts >$out_fmts
 
     pix_fmts=$($showfiltfmts $filter | awk -F '[ \r]' '/^INPUT/{ print $3 }' | sort | comm -12 - $out_fmts)
+
+    outertest=$test
     for pix_fmt in $pix_fmts; do
         test=$pix_fmt
         video_filter "format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt
     done
 
     rm $exclude_fmts $out_fmts
+    test=$outertest
 }
 
 mkdir -p "$outdir"



More information about the ffmpeg-cvslog mailing list