[FFmpeg-cvslog] r20322 - trunk/tests/codec-regression.sh

stefano subversion
Mon Oct 19 23:59:17 CEST 2009


Author: stefano
Date: Mon Oct 19 23:59:17 2009
New Revision: 20322

Log:
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.

Modified:
   trunk/tests/codec-regression.sh

Modified: trunk/tests/codec-regression.sh
==============================================================================
--- trunk/tests/codec-regression.sh	Mon Oct 19 23:54:37 2009	(r20321)
+++ trunk/tests/codec-regression.sh	Mon Oct 19 23:59:17 2009	(r20322)
@@ -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}-"



More information about the ffmpeg-cvslog mailing list