[FFmpeg-devel] [PATCH v4 2/3] speedhq: add FATE tests

Michael Niedermayer michael at niedermayer.cc
Thu Aug 3 03:24:17 EEST 2017


On Wed, Aug 02, 2017 at 06:08:46PM +0200, Steinar H. Gunderson wrote:
> Also add simple FATE tests, based on output produced by the NDI SDK.
> ---
>  tests/Makefile                         | 1 +
>  tests/fate/speedhq.mak                 | 7 +++++++
>  tests/ref/fate/speedhq-422             | 6 ++++++
>  tests/ref/fate/speedhq-422-singlefield | 6 ++++++
>  4 files changed, 20 insertions(+)
>  create mode 100644 tests/fate/speedhq.mak
>  create mode 100644 tests/ref/fate/speedhq-422
>  create mode 100644 tests/ref/fate/speedhq-422-singlefield

doesnt work
make -j12 fate-speedhq
make: *** No rule to make target `fate-speedhq-422', needed by `fate-speedhq'.  Stop.

make fate-speedhq-422-singlefield
make: *** No rule to make target `fate-speedhq-422-singlefield'.  Stop.

make fate-list | grep speedhq

[...]

> diff --git a/tests/fate/speedhq.mak b/tests/fate/speedhq.mak
> new file mode 100644
> index 0000000000..3394782809
> --- /dev/null
> +++ b/tests/fate/speedhq.mak
> @@ -0,0 +1,7 @@
> +FATE_SPEEDHQ = fate-speedhq-422                                           \
> +               fate-speedhq-422-singlefield                               \
> +
> +fate-speedhq: $(FATE_SPEEDHQ)
> +
> +fate-speedhq-422:             CMD = framecrc -flags +bitexact -f rawvideo -codec speedhq -vtag SHQ2 -video_size 112x64 -i $(TARGET_SAMPLES)/speedhq/progressive.shq2 -pix_fmt yuv422p
> +fate-speedhq-422-singlefield: CMD = framecrc -flags +bitexact -f rawvideo -codec speedhq -vtag SHQ2 -video_size 112x32 -i $(TARGET_SAMPLES)/speedhq/singlefield.shq2 -pix_fmt yuv422p

a

FATE_SAMPLES_FFMPEG += ...

line probably should be in there

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- 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/20170803/cbd5ccea/attachment.sig>


More information about the ffmpeg-devel mailing list