From 1233698bedf1e074a8bbe476303f7f3ec3270105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Tue, 2 Mar 2010 21:59:27 +0000 Subject: [PATCH] Make seektest messages similar to other tests Originally committed as revision 22159 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/seek-regression.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/seek-regression.sh b/tests/seek-regression.sh index d35fa9c8b5..84b6d3245c 100755 --- a/tests/seek-regression.sh +++ b/tests/seek-regression.sh @@ -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