diff options
author | Diego Biurrun <diego@biurrun.de> | 2019-02-02 13:54:47 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2019-02-16 18:15:30 +0100 |
commit | a957e9379d11f2982d615f92c30580a57ea8bb40 (patch) | |
tree | d3e972586cbc3eb6aefeae9a17d5ec3c19af6f31 /tests/fate-run.sh | |
parent | eb8a8115994434b548523cf0bca6a4a74784e79c (diff) |
tests: Convert lavf image tests to non-legacy test scripts
Rename some tests in the process for consistency and simplicity.
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index b20e013d6b..a9dfebc364 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -197,6 +197,17 @@ lavf_audio(){ do_avconv_crc $file $DEC_OPTS $3 -i $target_path/$file } +lavf_image(){ + t="${test#lavf-}" + outdir="tests/data/images/$t" + mkdir -p "$outdir" + file=${outdir}/%02d.$t + run_avconv $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $1 $ENC_OPTS $2 -frames 12 -y -qscale 10 $target_path/$file + do_md5sum ${outdir}/02.$t + do_avconv_crc $file $DEC_OPTS $2 -i $target_path/$file + echo $(wc -c ${outdir}/02.$t) +} + lavf_image2pipe(){ t="${test#lavf-}" t="${t%pipe}" |