[FFmpeg-devel] [PATCH] Create tests/regression-funcs.sh

Stefano Sabatini stefano.sabatini-lala
Wed Oct 21 01:19:39 CEST 2009


On date Saturday 2009-10-17 17:29:22 +0200, Diego Biurrun encoded:
> On Wed, Oct 14, 2009 at 09:40:31PM +0200, Stefano Sabatini wrote:
> > 
> > as recently suggested, avoid code duplication.
> > 
> > --- /dev/null	1970-01-01 00:00:00.000000000 +0000
> > +++ ffmpeg/tests/lavfi-regression.sh	2009-10-14 21:32:34.000000000 +0200
> > @@ -0,0 +1,56 @@
> > +
> > +datadir="./tests/data"
> > +target_datadir="${target_path}/${datadir}"
> > +
> > +test="${1#regtest-}"
> > +this="$test.$2"
> > +logfile="$datadir/$this.regression"
> > +outfile="$datadir/$4-"
> > +
> > +eval do_$test=y
> > +
> > +# various files
> > +ffmpeg="$target_exec ${target_path}/ffmpeg_g"
> > +tiny_psnr="tests/tiny_psnr"
> > +benchfile="$datadir/$this.bench"
> > +bench="$datadir/$this.bench.tmp"
> > +bench2="$datadir/$this.bench2.tmp"
> > +raw_src="${target_path}/$3/%02d.pgm"
> > +raw_dst="$datadir/$this.out.yuv"
> 
> Some of this looks common, so it could be put in the common file.

Patch updated.
-- 
FFmpeg = Friendly and Faboulous Moronic Powerful Ecumenical Gospel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split-codec-regression.patch
Type: text/x-diff
Size: 20194 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091021/6e6d9536/attachment.patch>



More information about the ffmpeg-devel mailing list