[FFmpeg-devel] [PATCH] fate: make lavfi tests output only md5

Janne Grunau janne-ffmpeg
Sat Jan 22 01:24:22 CET 2011


On Fri, Jan 21, 2011 at 11:18:42PM +0000, Mans Rullgard wrote:
> Instead of saving huge raw files, use the md5: output pseudo-protocol
> to calculate the checksum of the file directly.  This is especially
> useful when testing on remote targets as it avoids transferring 3.6GB
> over the network.
> ---
>  tests/lavfi-regression.sh        |   21 ++++---
>  tests/ref/lavfi/crop             |    3 +-
>  tests/ref/lavfi/crop_scale       |    3 +-
>  tests/ref/lavfi/crop_scale_vflip |    3 +-
>  tests/ref/lavfi/crop_vflip       |    3 +-
>  tests/ref/lavfi/null             |    3 +-
>  tests/ref/lavfi/pixdesc_be       |  126 +++++++++++++-------------------------
>  tests/ref/lavfi/pixdesc_le       |  126 +++++++++++++-------------------------
>  tests/ref/lavfi/pixfmts_copy_le  |  126 +++++++++++++-------------------------
>  tests/ref/lavfi/pixfmts_crop_le  |  108 +++++++++++----------------------
>  tests/ref/lavfi/pixfmts_hflip_le |  108 +++++++++++----------------------
>  tests/ref/lavfi/pixfmts_null_le  |  126 +++++++++++++-------------------------
>  tests/ref/lavfi/pixfmts_pad_le   |   51 +++++----------
>  tests/ref/lavfi/pixfmts_scale_le |  126 +++++++++++++-------------------------
>  tests/ref/lavfi/pixfmts_vflip_le |  126 +++++++++++++-------------------------
>  tests/ref/lavfi/scale200         |    3 +-
>  tests/ref/lavfi/scale500         |    3 +-
>  tests/ref/lavfi/vflip            |    3 +-
>  tests/ref/lavfi/vflip_crop       |    3 +-
>  tests/ref/lavfi/vflip_vflip      |    3 +-
>  tests/regression-funcs.sh        |    6 ++
>  21 files changed, 369 insertions(+), 711 deletions(-)

ok, assuming the md5 haven't changed, I only checked some. Would have
been easier to review I you had emulated the old test ref format and
just removed the size. The new format is of course nicer.

Janne



More information about the ffmpeg-devel mailing list