aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-05-06 18:35:34 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-07 19:27:47 +0200
commitbd392785a75d7d51414a9788d50396a8d9f29d77 (patch)
treea6bc59db3274276e863d1693f24a63ecac6b6b4c
parent1b343cedd7cd68e7865aa5280d1568c7e5d79917 (diff)
downloadffmpeg-bd392785a75d7d51414a9788d50396a8d9f29d77.tar.gz
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.
-rwxr-xr-xtests/fate-run.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 9d98531cae..b6c7384ff0 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(){