Commit c4795e80 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

fate: print commands being executed with V=1

Originally committed as revision 25161 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b7d56a17
...@@ -43,6 +43,7 @@ stddev(){ ...@@ -43,6 +43,7 @@ stddev(){
} }
run(){ run(){
test "${V:-0}" -gt 0 && echo "$target_exec" $target_path/"$@" >&3
$target_exec $target_path/"$@" $target_exec $target_path/"$@"
} }
...@@ -109,6 +110,7 @@ seektest(){ ...@@ -109,6 +110,7 @@ seektest(){
mkdir -p "$outdir" mkdir -p "$outdir"
exec 3>&2
$command > "$outfile" 2>$errfile $command > "$outfile" 2>$errfile
err=$? err=$?
......
...@@ -41,9 +41,15 @@ mkdir -p "$datadir" ...@@ -41,9 +41,15 @@ mkdir -p "$datadir"
mkdir -p "$outfile" mkdir -p "$outfile"
mkdir -p "$logdir" mkdir -p "$logdir"
[ "${V-0}" -gt 0 ] && echov=echo || echov=: (exec >&3) 2>/dev/null || exec 3>&2
[ "${V-0}" -gt 0 ] && echov=echov || echov=:
[ "${V-0}" -gt 1 ] || exec 2>$errfile [ "${V-0}" -gt 1 ] || exec 2>$errfile
echov(){
echo "$@" >&3
}
. $(dirname $0)/md5.sh . $(dirname $0)/md5.sh
FFMPEG_OPTS="-v 0 -y -flags +bitexact -dct fastint -idct simple -sws_flags +accurate_rnd+bitexact" FFMPEG_OPTS="-v 0 -y -flags +bitexact -dct fastint -idct simple -sws_flags +accurate_rnd+bitexact"
......
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