Anton Khirnov <[email protected]> writes:

> ---
>  tests/Makefile               |    1 +
>  tests/fate/cover_art.mak     |    5 +++++
>  tests/ref/fate/cover_art-m4a |    1 +
>  3 files changed, 7 insertions(+)
>  create mode 100644 tests/fate/cover_art.mak
>  create mode 100644 tests/ref/fate/cover_art-m4a
>
> diff --git a/tests/Makefile b/tests/Makefile
> index 429762b..6203f48 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -36,6 +36,7 @@ include $(SRC_PATH)/tests/fate/atrac.mak
>  include $(SRC_PATH)/tests/fate/audio.mak
>  include $(SRC_PATH)/tests/fate/bmp.mak
>  include $(SRC_PATH)/tests/fate/cdxl.mak
> +include $(SRC_PATH)/tests/fate/cover_art.mak
>  include $(SRC_PATH)/tests/fate/dct.mak
>  include $(SRC_PATH)/tests/fate/demux.mak
>  include $(SRC_PATH)/tests/fate/dfa.mak
> diff --git a/tests/fate/cover_art.mak b/tests/fate/cover_art.mak
> new file mode 100644
> index 0000000..70c8f51
> --- /dev/null
> +++ b/tests/fate/cover_art.mak
> @@ -0,0 +1,5 @@
> +FATE_COVER_ART += fate-cover_art-m4a
> +fate-cover_art-m4a: CMD = md5 -i 
> $(SAMPLES)/cover_art/Owner-iTunes_9.0.3.15.m4a -an -c:v copy -f rawvideo
> +
> +FATE_SAMPLES_AVCONV += $(FATE_COVER_ART)
> +fate-cover_art: $(FATE_COVER_ART)
> diff --git a/tests/ref/fate/cover_art-m4a b/tests/ref/fate/cover_art-m4a
> new file mode 100644
> index 0000000..fb077d1
> --- /dev/null
> +++ b/tests/ref/fate/cover_art-m4a
> @@ -0,0 +1 @@
> +08ba70a3b594ff6345a93965e96a9d3e
> -- 

You could use CMP=oneline and put the checksum directly in the makefile.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to