On Mon, Sep 30, 2013 at 12:19:06PM +0200, Anton Khirnov wrote:
> 
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -54,6 +54,7 @@ FILTERDEMDECENCMUX = $(call ALLYES, $(1)_FILTER 
> $(2)_DEMUXER $(3)_DECODER $(4)_E
>  include $(SRC_PATH)/tests/fate/acodec.mak
>  include $(SRC_PATH)/tests/fate/vcodec.mak
>  include $(SRC_PATH)/tests/fate/avformat.mak
> +include $(SRC_PATH)/tests/fate/avresample.mak
>  include $(SRC_PATH)/tests/fate/seek.mak

Call it libavresample.mak and move it down; this is the list of legacy
tests.

> --- /dev/null
> +++ b/tests/fate/avresample.mak
> @@ -0,0 +1,16 @@
> +MIX_CHANNELS = 1 2 3 4 5 6 7 8
> +
> +define MIX
> +FATE_LAVR_MIX += fate-lavr-mix-$(1)-$(2)
> +fate-lavr-mix-$(1)-$(2): tests/data/asynth-44100-$(1).wav
> +fate-lavr-mix-$(1)-$(2): CMD = md5 -i 
> $(TARGET_PATH)/tests/data/asynth-44100-$(1).wav -ac $(2) -f s16le
> +endef
> +
> +$(foreach I,$(MIX_CHANNELS),$(foreach J,$(MIX_CHANNELS),$(if $(filter-out 
> $(I),$(J)),$(eval $(call MIX,$(I),$(J))),)))
> +
> +fate-lavr-mix: $(FATE_LAVR_MIX)
> +
> +FATE_LAVR-$(call FILTERDEMDECENCMUX, RESAMPLE, WAV, PCM_S16LE, PCM_S16LE, 
> WAV) += $(FATE_LAVR_MIX)
> +
> +FATE_AVCONV += $(FATE_LAVR-yes)
> +fate-lavr: $(FATE_LAVR-yes)
> --- /dev/null
> +++ b/tests/ref/fate/lavr-mix-1-2
> @@ -0,0 +1 @@
> +d2b7495e489c0f5d108709f8b6b06ce3

I suggest the oneline compare method.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to