summaryrefslogtreecommitdiffstats
path: root/tests/fate
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2018-08-08 22:06:38 +0200
committerDiego Biurrun <diego@biurrun.de>2019-02-16 18:15:55 +0100
commitf8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b (patch)
tree65b36dcd8a7744bd2a36f4fd305ce5f2c6b090f3 /tests/fate
parent618d02c1fa9e74d490cace64a7d15762656b521c (diff)
downloadffmpeg-streaming-f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b.zip
ffmpeg-streaming-f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b.tar.gz
tests: Add a convenience function for video-only lavf tests
Rename a test in the process for consistency and simplicity and remove the remnants of the now-unused lavf regression test scripts.
Diffstat (limited to 'tests/fate')
-rw-r--r--tests/fate/avformat.mak10
-rw-r--r--tests/fate/lavf-video.mak13
-rw-r--r--tests/fate/seek.mak4
3 files changed, 15 insertions, 12 deletions
diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak
deleted file mode 100644
index 7c984e4..0000000
--- a/tests/fate/avformat.mak
+++ /dev/null
@@ -1,10 +0,0 @@
-FATE_LAVF-$(call ENCDEC, GIF, IMAGE2) += gif
-FATE_LAVF-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg
-
-FATE_LAVF += $(FATE_LAVF-yes:%=fate-lavf-%)
-
-$(FATE_LAVF): $(AREF) $(VREF)
-$(FATE_LAVF): CMD = lavftest
-
-FATE_AVCONV += $(FATE_LAVF)
-fate-lavf: $(FATE_LAVF)
diff --git a/tests/fate/lavf-video.mak b/tests/fate/lavf-video.mak
new file mode 100644
index 0000000..d964e91
--- /dev/null
+++ b/tests/fate/lavf-video.mak
@@ -0,0 +1,13 @@
+FATE_LAVF_VIDEO-$(call ENCDEC, GIF, IMAGE2) += gif
+FATE_LAVF_VIDEO-$(CONFIG_YUV4MPEGPIPE_MUXER) += y4m
+
+FATE_LAVF_VIDEO = $(FATE_LAVF_VIDEO-yes:%=fate-lavf-%)
+
+$(FATE_LAVF_VIDEO): CMD = lavf_video
+$(FATE_LAVF_VIDEO): REF = $(SRC_PATH)/tests/ref/lavf/$(@:fate-lavf-%=%)
+$(FATE_LAVF_VIDEO): $(VREF)
+
+fate-lavf-gif: CMD = lavf_video "-pix_fmt rgb24"
+
+FATE_AVCONV += $(FATE_LAVF_VIDEO)
+fate-lavf-video fate-lavf: $(FATE_LAVF_VIDEO)
diff --git a/tests/fate/seek.mak b/tests/fate/seek.mak
index 937d284..c7e56f8 100644
--- a/tests/fate/seek.mak
+++ b/tests/fate/seek.mak
@@ -178,7 +178,7 @@ FATE_SEEK_LAVF-$(call ENCDEC, TIFF, IMAGE2) += tiff
FATE_SEEK_LAVF-$(call ENCDEC2, MPEG2VIDEO, MP2, MPEGTS) += ts
FATE_SEEK_LAVF-$(call ENCDEC, PCM_U8, VOC) += voc
FATE_SEEK_LAVF-$(call ENCDEC, PCM_S16LE, WAV) += wav
-FATE_SEEK_LAVF-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg
+FATE_SEEK_LAVF-$(CONFIG_YUV4MPEGPIPE_MUXER) += y4m
fate-seek-lavf-aiff: SRC = lavf/lavf.aiff
fate-seek-lavf-al: SRC = lavf/lavf.al
@@ -214,7 +214,7 @@ fate-seek-lavf-tiff: SRC = images/tiff/%02d.tiff
fate-seek-lavf-ts: SRC = lavf/lavf.ts
fate-seek-lavf-voc: SRC = lavf/lavf.voc
fate-seek-lavf-wav: SRC = lavf/lavf.wav
-fate-seek-lavf-yuv4mpeg: SRC = lavf/lavf.y4m
+fate-seek-lavf-y4m: SRC = lavf/lavf.y4m
FATE_SEEK += $(FATE_SEEK_LAVF-yes:%=fate-seek-lavf-%)
OpenPOWER on IntegriCloud