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>
This commit is contained in:
parent
0a51c7d42a
commit
358b7ec309
@ -176,12 +176,15 @@ pixfmts(){
|
|||||||
$showfiltfmts scale | awk -F '[ \r]' '/^OUTPUT/{ print $3 }' | sort | comm -23 - $exclude_fmts >$out_fmts
|
$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)
|
pix_fmts=$($showfiltfmts $filter | awk -F '[ \r]' '/^INPUT/{ print $3 }' | sort | comm -12 - $out_fmts)
|
||||||
|
|
||||||
|
outertest=$test
|
||||||
for pix_fmt in $pix_fmts; do
|
for pix_fmt in $pix_fmts; do
|
||||||
test=$pix_fmt
|
test=$pix_fmt
|
||||||
video_filter "format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt
|
video_filter "format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt
|
||||||
done
|
done
|
||||||
|
|
||||||
rm $exclude_fmts $out_fmts
|
rm $exclude_fmts $out_fmts
|
||||||
|
test=$outertest
|
||||||
}
|
}
|
||||||
|
|
||||||
mkdir -p "$outdir"
|
mkdir -p "$outdir"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user