fate: more cases of avconv that should be conditional
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 16 Aug 2011 01:38:00 +0000 (03:38 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 16 Aug 2011 01:38:00 +0000 (03:38 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tests/fate-run.sh
tests/regression-funcs.sh

index c35d0ab..3de097e 100755 (executable)
@@ -77,7 +77,7 @@ pcm(){
 regtest(){
     t="${test#$2-}"
     ref=${base}/ref/$2/$t
-    ${base}/${1}-regression.sh $t $2 $3 "$target_exec" "$target_path" "$threads" "$thread_type"
+    ${base}/${1}-regression.sh $t $2 $3 "$target_exec" "$target_path" "$threads" "$thread_type" "$tool"
 }
 
 codectest(){
index bba1890..14d4e29 100755 (executable)
@@ -10,6 +10,7 @@ raw_src_dir=$3
 target_exec=$4
 target_path=$5
 threads=${6:-1}
+tool=$8
 
 datadir="./tests/data"
 target_datadir="${target_path}/${datadir}"
@@ -18,7 +19,7 @@ this="$test.$test_ref"
 outfile="$datadir/$test_ref/"
 
 # various files
-avconv="$target_exec ${target_path}/avconv"
+avconv="$target_exec ${target_path}/${tool}"
 tiny_psnr="tests/tiny_psnr"
 raw_src="${target_path}/$raw_src_dir/%02d.pgm"
 raw_dst="$datadir/$this.out.yuv"