Statistics
| Branch: | Revision:

ffmpeg / tests / seek_test.sh @ 3251f24b

History | View | Annotate | Download (451 Bytes)

1
#!/bin/sh
2

    
3
LC_ALL=C
4
export LC_ALL
5

    
6
datadir="tests/data"
7

    
8
logfile="$datadir/seek.regression"
9
reffile="$1"
10

    
11
list=`grep '^tests/data/[ab]-' "$reffile"`
12
rm -f $logfile
13
for i in $list ; do
14
    echo ---------------- >> $logfile
15
    echo $i >> $logfile
16
    tests/seek_test $i >> $logfile
17
done
18

    
19
if diff -u "$reffile" "$logfile" ; then
20
    echo
21
    echo seek regression test: success
22
    exit 0
23
else
24
    echo
25
    echo seek regression test: error
26
    exit 1
27
fi