summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-19 21:59:17 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-19 21:59:17 +0000
commit3a408eff35de2f1c7c4462598bafa18a0f55de06 (patch)
tree29b6281dc5a288ed5ff16411a5a7f125e85aaa2a /tests
parentdd65909a7875b754426cacd17199945c66452cc8 (diff)
Move up the $test variable definition, together with the other
definitions of variables defined using the positional arguments of the script. Should ease the split of the file. Originally committed as revision 20322 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 933bb5251f..870ec466a7 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -7,6 +7,7 @@
set -e
+test="${1#regtest-}"
test_ref=$2
raw_src_dir=$3
outfile_prefix=$4
@@ -16,7 +17,6 @@ target_path=$6
datadir="./tests/data"
target_datadir="${target_path}/${datadir}"
-test="${1#regtest-}"
this="$test.$test_ref"
logfile="$datadir/$this.regression"
outfile="$datadir/${outfile_prefix}-"