[FFmpeg-devel] [PATCH 8/8] FATE: add crypto protocol test
Michael Niedermayer
michael at niedermayer.cc
Fri Oct 30 14:39:06 CET 2015
On Wed, Oct 28, 2015 at 05:39:39AM -0500, Rodger Combs wrote:
> ---
> tests/Makefile | 5 +++++
> tests/fate/avformat.mak | 1 +
> tests/lavf-regression.sh | 9 +++++++++
> tests/ref/lavf/crypto | 3 +++
> 4 files changed, 18 insertions(+)
> create mode 100644 tests/ref/lavf/crypto
>
> diff --git a/tests/Makefile b/tests/Makefile
> index 7ee4a46..c501813 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -82,6 +82,11 @@ ENCDEC2 = $(call ALLYES, $(firstword $(1))_ENCODER $(lastword $(1))_DECODER \
> $(firstword $(2))_ENCODER $(lastword $(2))_DECODER \
> $(firstword $(3))_MUXER $(lastword $(3))_DEMUXER)
>
> +ENCDEC2PRO = $(call ALLYES, $(firstword $(1))_ENCODER $(lastword $(1))_DECODER \
> + $(firstword $(2))_ENCODER $(lastword $(2))_DECODER \
> + $(firstword $(3))_MUXER $(lastword $(3))_DEMUXER \
> + $(firstword $(4))_PROTOCOL)
> +
> DEMDEC = $(call ALLYES, $(1)_DEMUXER $(2:%=%_DECODER))
> ENCMUX = $(call ALLYES, $(1:%=%_ENCODER) $(2)_MUXER)
>
> diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak
> index 1d13434..e65c3f9 100644
> --- a/tests/fate/avformat.mak
> +++ b/tests/fate/avformat.mak
> @@ -6,6 +6,7 @@ FATE_LAVF-$(call ENCDEC, PCM_S16BE, AU) += au
> FATE_LAVF-$(call ENCDEC2, MPEG4, MP2, AVI) += avi
> FATE_LAVF-$(call ENCDEC, BMP, IMAGE2) += bmp
> FATE_LAVF-$(call ENCDEC, PCM_S16BE, CAF) += caf
> +FATE_LAVF-$(call ENCDEC2PRO, MPEG4, MP2, NUT, CRYPTO) += crypto
> FATE_LAVF-$(call ENCDEC, DPX, IMAGE2) += dpx
> FATE_LAVF-$(call ENCDEC2, DVVIDEO, PCM_S16LE, AVI) += dv_fmt
> FATE_LAVF-$(call ENCDEC2, MPEG1VIDEO, MP2, FFM) += ffm
> diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
> index a37f714..58287ff 100755
> --- a/tests/lavf-regression.sh
> +++ b/tests/lavf-regression.sh
iam not sure if new fate tests should use lavf-regression.sh
other then that the patch LGTM
also tested on mips qemu, mingw32/64
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151030/bc3a8983/attachment.sig>
More information about the ffmpeg-devel
mailing list