~medibuntu-maintainers/ffmpeg/medibuntu.maverick

« back to all changes in this revision

Viewing changes to tests/seek-regression.sh

  • Committer: Gauvain Pocentek
  • Date: 2010-09-25 08:17:46 UTC
  • mfrom: (5.1.14 maverick)
  • Revision ID: gauvain@images-20100925081746-i08nj1jyzsx971cs
* Merge from maverick.
* debian/control:
  - update maintainer and uploaders
  - use our addresses in Vcs-* fields
  - build-depends on libfaac-dev, libopencore-amrnb-dev and
    libopencore-amrwb-dev to add aac encoding and amr support lp: #490227
  - recommends apport-hooks-medibuntu for lib*-extra-* to catch all bug
    reports.
* Add myself to uploaders
* Add libxfixes-dev to build-depends, LP: #631103. Thanks to
  Dominic Evans for the initial patch against ffmpeg.
* merge from 'main' package. Changes:
  - build against faad, dirac, libopenjpeg, x264, mp3lame, librtmp and xvidcore
* merge from debian/experimental. remaining changes:
  - don't disable encoders
  - don't build against libfaad, libdirac, librtmp and libopenjpeg (all in universe)
* Enable RTMP[E] support via librtmp.
* Disable aac encoder, see README.Debian.
* Fix obsolete-relation-form for the internal dependencies.
* Merge debian/README.Source into debian/README.source and add section
  headers.
* Remove obsoleted support for the non-free libamr-nb/wb.
* enable runtime-cpudetect
* conditionally build against opencore-amr if installed in the build
  environment
* update upstream url in debian/copyright
* fix usage documentation in debian/get-orig-source.sh
* update dep3 headers for debian/patches/900_doxyfile
* add proper replaces for moving presets back to ffmpeg
* make debian/patches gbp-pq friendly
* Add VP80 fourcc to libavformat/riff.c
* Backport-AAC-HE-v2
* bump Standards-Version, no changes needed
* merge from 'main' package. Changes:
  - build against faad, dirac, libopenjpeg, x264, mp3lame and xvidcore
* merge from debian/experimental. remaining changes:
  - don't disable encoders
  - don't build against libfaad, libdirac and libopenjpeg (all in universe)
* new upstream release
  - internal vorbis encoder is disabled. LP: #585330
  - includes native AMR-NB decoder, LP: #93849
  - api-example is fixed: LP: #557319
* new upstream release
  - adds VP8 support via libvpx, Closes: #582274
* depend on libavfilter-extra-1 instead of -0, Closes: #583728
* add conflicts to the ffprobe package, it has been merged upstream now
* add proper replaces, fixes: LP: #587369
* fix typo in dependency on libavfilter-extra-1. LP: #587431
* install files into libavfilter-extra-1.install. LP: #587424
* bump soname for package libavutil49->libavutil50
* fix installation rule, LP: #587424
* remove all install rules that are related to non-library packages
  Fixes FTBFS
* don't try install html files, we don't build ffmpeg-doc in ffmpeg-extra
  Fixes FTBFS
* merge from 'main' package. Changes
  - build against faad, dirac, libopenjpeg, x264, mp3lame and xvidcore
* merge from debian/experimental. remaining changes:
  - don't disable encoders
  - don't build against libfaad, libdirac and libopenjpeg (all in universe)
* update to new upstream. Closes: #569727
  - fixes various segfaults and other minor feature improvements
    Closes: #374931, #522449, #501891, #559712, #420231, #369127, #538082,
            #298095, #294422, #561553, #525385, #495274, #420230
    LP: #305286, #457106, #529200, #301723, #305315, #336479, #420230,
        #412063, #428912, #432181, #440591, #453732, #453732, #453732,
          #514259, #515243, #521472, #530186, #530186, #197842, #483317,
          #483317, #539407, #280098, #331255, #566107, #569823, #570305,
          #573190
* Fixup lintian overrides for new upstream snapshot
* Bump Standards-Version to 3.8.4
* Many upstream changes, see upstream Changelog for details
* Prepare new upload for Debian.
* Update gbp.conf for master.extra branch.
* Bump Standards-Version to 3.8.4.
* Don't include build-depends-indep when only building arch-dependent
  packages.
* Include ${misc:Depends} for all packages.
* Set the team as maintainers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
LC_ALL=C
 
4
export LC_ALL
 
5
 
 
6
src_path=$1
 
7
target_exec=$2
 
8
target_path=$3
 
9
 
 
10
[ "${V-0}" -gt 0 ] && echov=echo || echov=:
 
11
[ "${V-0}" -gt 1 ] || exec 2>/dev/null
 
12
 
 
13
refdir="$src_path/tests/ref/seek"
 
14
datadir="tests/data"
 
15
 
 
16
list=$(ls -1 $datadir/vsynth2/* $datadir/acodec/* $datadir/lavf/*)
 
17
imgs=$(for i in $datadir/images/*; do echo "$i/%02d.${i##*/}"; done)
 
18
err=0
 
19
 
 
20
for i in $list $imgs; do
 
21
    base=$(basename $i)
 
22
    logfile="$datadir/$base.seek.regression"
 
23
    reffile="$refdir/$base.ref"
 
24
    echo "TEST SEEK   $base"
 
25
    $echov $target_exec $target_path/tests/seek_test $target_path/$i
 
26
    $target_exec $target_path/tests/seek_test $target_path/$i > $logfile
 
27
    diff -u -w "$reffile" "$logfile" || err=1
 
28
done
 
29
 
 
30
if [ $err = 0 ]; then
 
31
    echo
 
32
    echo seek regression test: success
 
33
    exit 0
 
34
else
 
35
    echo
 
36
    echo seek regression test: error
 
37
    exit 1
 
38
fi