fate-run: Drop unnecessary regtest() indirection
authorDiego Biurrun <diego@biurrun.de>
Mon, 6 May 2013 16:35:34 +0000 (18:35 +0200)
committerDiego Biurrun <diego@biurrun.de>
Tue, 7 May 2013 17:27:47 +0000 (19:27 +0200)
The indirection was used to abstract from the different -regression.sh
scripts. Now that only one remains, this indirection is pointless.

tests/fate-run.sh

index 9d98531..b6c7384 100755 (executable)
@@ -146,14 +146,10 @@ enc_dec(){
     tests/tiny_psnr $srcfile $decfile $cmp_unit $cmp_shift
 }
 
-regtest(){
-    t="${test#$2-}"
-    ref=${base}/ref/$2/$t
-    ${base}/${1}-regression.sh $t $2 $3 "$target_exec" "$target_path" "$threads" "$thread_type" "$cpuflags"
-}
-
 lavftest(){
-    regtest lavf lavf tests/vsynth1
+    t="${test#lavf-}"
+    ref=${base}/ref/lavf/$t
+    ${base}/lavf-regression.sh $t lavf tests/vsynth1 "$target_exec" "$target_path" "$threads" "$thread_type" "$cpuflags"
 }
 
 video_filter(){