[FFmpeg-cvslog] fate-run: Drop unnecessary regtest() indirection

Diego Biurrun git at videolan.org
Wed May 8 14:31:41 CEST 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon May  6 18:35:34 2013 +0200| [bd392785a75d7d51414a9788d50396a8d9f29d77] | committer: Diego Biurrun

fate-run: Drop unnecessary regtest() indirection

The indirection was used to abstract from the different -regression.sh
scripts. Now that only one remains, this indirection is pointless.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bd392785a75d7d51414a9788d50396a8d9f29d77
---

 tests/fate-run.sh |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 9d98531..b6c7384 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -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(){



More information about the ffmpeg-cvslog mailing list