summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-04-19 20:37:43 -0700
committerLuca Barbato <lu_zero@gentoo.org>2015-04-23 12:47:00 +0200
commit358b7ec3099eca6e999ad9dc0da0a23571a7a2f8 (patch)
treef203140bd7ab2be74b93788d5fe171f0a64685d8 /tests/fate-run.sh
parent0a51c7d42a519c63178a4f3e35b8967f21da3a6a (diff)
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@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index a0a69ad0a7..402f9dc464 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"