mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-18 03:19:31 +02:00
dd785e25d8
testing new formats since 2 years namely r11831. This likely will uncover bugs that gone unnoticed in the last 2 years due to lack of testing. Originally committed as revision 22151 to svn://svn.ffmpeg.org/ffmpeg/trunk
31 lines
557 B
Bash
Executable File
31 lines
557 B
Bash
Executable File
#!/bin/sh
|
|
|
|
LC_ALL=C
|
|
export LC_ALL
|
|
|
|
target_exec=$2
|
|
target_path=$3
|
|
|
|
datadir="tests/data"
|
|
|
|
logfile="$datadir/seek.regression"
|
|
reffile="$1"
|
|
|
|
list=$(grep -oh ' ./tests/data/.*' tests/ref/{acodec,lavf,vsynth1}/*| sort)
|
|
rm -f $logfile
|
|
for i in $list ; do
|
|
echo ---------------- >> $logfile
|
|
echo $i >> $logfile
|
|
$target_exec $target_path/tests/seek_test $target_path/$i >> $logfile
|
|
done
|
|
|
|
if diff -u -w "$reffile" "$logfile" ; then
|
|
echo
|
|
echo seek regression test: success
|
|
exit 0
|
|
else
|
|
echo
|
|
echo seek regression test: error
|
|
exit 1
|
|
fi
|