Statistics
| Branch: | Revision:

ffmpeg / tests / seek_test.sh @ be47dad7

History | View | Annotate | Download (529 Bytes)

1 f97b7e66 Michael Niedermayer
#!/bin/sh
2
#feel free to clean this up ive made no attempt to write this overly portable ...
3
4
datadir="./data"
5
6
logfile="$datadir/seek.regression"
7
reffile="$1"
8
9
list=`ls data/a-* data/b-* | sort`
10
rm $logfile
11
for i in $list ; do
12
    echo ---------------- >>$logfile
13
    echo $i >>$logfile
14 b9e65069 Michael Niedermayer
    echo $i | grep -vq 'b-libav[01][0-9][.]' &&
15 f97b7e66 Michael Niedermayer
    ./seek_test $i >> $logfile
16
done
17
18 be47dad7 Benoit Fouet
if diff -u "$reffile" "$logfile" ; then
19 f97b7e66 Michael Niedermayer
    echo
20
    echo Regression test succeeded.
21
    exit 0
22
else
23
    echo
24
    echo Regression test: Error.
25
    exit 1
26
fi