From e6e3069b54a3f9e0ac766ba398709e0e6116072a Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sat, 24 Jul 2010 17:13:35 +0000 Subject: Simplify lavfi test script a little Originally committed as revision 24486 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/lavfi-regression.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests/lavfi-regression.sh') diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh index c20f427f6f..a81ad74d5a 100755 --- a/tests/lavfi-regression.sh +++ b/tests/lavfi-regression.sh @@ -38,12 +38,10 @@ get_exclusive_elements() ( ) do_lavfi() { - test_name=$1 - eval test=\$do_$test_name vfilters="slicify=random,$2" - if [ -n "$test" ] ; then - do_video_encoding ${test_name}.nut "" "-vcodec rawvideo -vf $vfilters" + if [ $test = $1 ] ; then + do_video_encoding ${test}.nut "" "-vcodec rawvideo -vf $vfilters" fi } -- cgit v1.2.3