[FFmpeg-devel] [PATCH 2/2] fate: add decoder test for avs2
James Almer
jamrial at gmail.com
Tue Jul 31 19:33:49 EEST 2018
On 7/31/2018 9:17 AM, hwren wrote:
> Signed-off-by: hwren <hwrenx at 126.com>
> ---
> tests/Makefile | 1 +
> tests/fate/avs2.mak | 9 +++++
> tests/ref/fate/avs2-davs2 | 98 +++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 108 insertions(+)
> create mode 100644 tests/fate/avs2.mak
> create mode 100644 tests/ref/fate/avs2-davs2
>
> diff --git a/tests/Makefile b/tests/Makefile
> index 24680b8..5ded6a4 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -102,6 +102,7 @@ include $(SRC_PATH)/tests/fate/api.mak
> include $(SRC_PATH)/tests/fate/apng.mak
> include $(SRC_PATH)/tests/fate/atrac.mak
> include $(SRC_PATH)/tests/fate/audio.mak
> +include $(SRC_PATH)/tests/fate/avs2.mak
> include $(SRC_PATH)/tests/fate/bmp.mak
> include $(SRC_PATH)/tests/fate/build.mak
> include $(SRC_PATH)/tests/fate/canopus.mak
> diff --git a/tests/fate/avs2.mak b/tests/fate/avs2.mak
> new file mode 100644
> index 0000000..dd08e4a
> --- /dev/null
> +++ b/tests/fate/avs2.mak
> @@ -0,0 +1,9 @@
> +FATE_LIBDAVS2 = davs2
> +
> +FATE_LIBDAVS2 := $(FATE_LIBDAVS2:%=fate-avs2-%)
> +
> +FATE_SAMPLES_AVCONV += $(FATE_LIBDAVS2)
> +FATE_SAMPLES_FFPROBE += $(FATE_LIBDAVS2_FFPROBE-yes)
> +fate-libdavs2: $(FATE_LIBDAVS2) $(FATE_LIBDAVS2_FFPROBE-yes)
> +
> +fate-avs2-davs2: CMD = framecrc -vsync drop -vcodec libdavs2 -i $(TARGET_SAMPLES)/avs2/test.avs2 -flags +bitexact
We don't add tests for decoders that require external dependencies.
More information about the ffmpeg-devel
mailing list