Make seektest messages similar to other tests

Originally committed as revision 22159 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-03-02 21:59:27 +00:00
parent d7096d6fdd
commit 1233698bed
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,9 @@ src_path=$1
target_exec=$2
target_path=$3
[ "${V-0}" -gt 0 ] && echov=echo || echov=:
[ "${V-0}" -gt 1 ] || exec 2>/dev/null
refdir="$src_path/tests/ref/seek"
datadir="tests/data"
@ -17,6 +20,8 @@ for i in $list ; do
base=$(basename $i)
logfile="$datadir/$base.seek.regression"
reffile="$refdir/$base.ref"
echo "TEST SEEK $base"
$echov $target_exec $target_path/tests/seek_test $target_path/$i
$target_exec $target_path/tests/seek_test $target_path/$i > $logfile
diff -u -w "$reffile" "$logfile" || err=1
done