From f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 8 Aug 2018 22:06:38 +0200 Subject: tests: Add a convenience function for video-only lavf tests Rename a test in the process for consistency and simplicity and remove the remnants of the now-unused lavf regression test scripts. --- tests/fate-run.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/fate-run.sh') diff --git a/tests/fate-run.sh b/tests/fate-run.sh index c8ac6a1..b613678 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -226,10 +226,12 @@ lavf_image2pipe(){ do_avconv_crc $file $DEC_OPTS -f image2pipe -i $target_path/$file } -lavftest(){ +lavf_video(){ t="${test#lavf-}" - ref=${base}/ref/lavf/$t - ${base}/lavf-regression.sh $t lavf tests/vsynth1 "$target_exec" "$target_path" "$threads" "$thread_type" "$cpuflags" + outdir="tests/data/lavf" + file=${outdir}/lavf.$t + do_avconv $file $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10 $1 + do_avconv_crc $file $DEC_OPTS -i $target_path/$file $1 } pixfmt_conversion(){ -- cgit v1.1