From 2fb02ecfd115a627f22df21720aa0bd4f6fcee8b Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sat, 9 May 2015 23:44:30 +0200 Subject: fate: Reduce the number of frames used to test video filters Use 5 frames for video filter tests and a single one for the pixelformat tests. Greatly reduces the test duration without reducing coverage. --- tests/fate-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/fate-run.sh') diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 402f9dc464..9edfa9aeb6 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -160,7 +160,7 @@ video_filter(){ raw_src="${target_path}/tests/vsynth1/%02d.pgm" printf '%-20s' $label avconv $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src \ - $FLAGS $ENC_OPTS -vf "$filters" -vcodec rawvideo $* -f nut md5: + $FLAGS $ENC_OPTS -vf "$filters" -vcodec rawvideo -frames:v 5 $* -f nut md5: } pixfmts(){ @@ -180,7 +180,7 @@ pixfmts(){ outertest=$test for pix_fmt in $pix_fmts; do 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 -frames:v 1 done rm $exclude_fmts $out_fmts -- cgit v1.2.3