Commit 48d4c1e3 authored by stefano's avatar stefano

Move up the $test variable definition, togheter with the other

definitions of variables defined using the positional arguments of the
script.

Should ease the split of the file.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20322 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4396aee9
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
set -e set -e
test="${1#regtest-}"
test_ref=$2 test_ref=$2
raw_src_dir=$3 raw_src_dir=$3
outfile_prefix=$4 outfile_prefix=$4
...@@ -16,7 +17,6 @@ target_path=$6 ...@@ -16,7 +17,6 @@ target_path=$6
datadir="./tests/data" datadir="./tests/data"
target_datadir="${target_path}/${datadir}" target_datadir="${target_path}/${datadir}"
test="${1#regtest-}"
this="$test.$test_ref" this="$test.$test_ref"
logfile="$datadir/$this.regression" logfile="$datadir/$this.regression"
outfile="$datadir/${outfile_prefix}-" outfile="$datadir/${outfile_prefix}-"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment