From 618d02c1fa9e74d490cace64a7d15762656b521c Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 2 Feb 2019 13:58:08 +0100 Subject: tests: Convert lavf container tests to non-legacy test scripts Rename some tests in the process for consistency and simplicity. --- tests/fate-run.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/fate-run.sh') diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 89eef12..c8ac6a1 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -197,6 +197,15 @@ lavf_audio(){ do_avconv_crc $file $DEC_OPTS $3 -i $target_path/$file } +lavf_container(){ + t="${test#lavf-}" + outdir="tests/data/lavf" + file=${outdir}/lavf.$t + do_avconv $file $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $DEC_OPTS -ar 44100 -f s16le $1 -i $pcm_src $ENC_OPTS -b:a 64k -t 1 -qscale:v 10 $2 + test $3 = "disable_crc" || + do_avconv_crc $file $DEC_OPTS -i $target_path/$file $3 +} + lavf_image(){ t="${test#lavf-}" outdir="tests/data/images/$t" -- cgit v1.1