aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/seek.mak
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-04-22 19:57:02 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-23 12:56:31 +0200
commit60191e3aec6a65ffcb8af9ad389df7ce31293e6d (patch)
tree1e9c9270ca4e2821e7e091e5c30a0400fad690e2 /tests/fate/seek.mak
parentdf287f3e4362982807d80a62e3122e2477b85892 (diff)
downloadffmpeg-60191e3aec6a65ffcb8af9ad389df7ce31293e6d.tar.gz
fate: add mp3 CBR seek test
This tests the "old", now non-default seek mode, and this requires a special extra argument. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/fate/seek.mak')
-rw-r--r--tests/fate/seek.mak13
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/fate/seek.mak b/tests/fate/seek.mak
index 3be04ca089..dfb2e84a1e 100644
--- a/tests/fate/seek.mak
+++ b/tests/fate/seek.mak
@@ -241,11 +241,18 @@ fate-seek-lavf-yuv4mpeg: SRC = lavf/lavf.y4m
FATE_SEEK += $(FATE_SEEK_LAVF-yes:%=fate-seek-lavf-%)
-$(FATE_SEEK) $(FATE_SAMPLES_SEEK): libavformat/seek-test$(EXESUF)
+# extra files
+
+FATE_SEEK_EXTRA-$(CONFIG_MP3_DEMUXER) += fate-seek-extra-mp3
+fate-seek-extra-mp3: CMD = run libavformat/seek-test$(EXESUF) $(TARGET_SAMPLES)/gapless/gapless.mp3 -usetoc 0
+FATE_SEEK_EXTRA += $(FATE_SEEK_EXTRA-yes)
+
+
+$(FATE_SEEK) $(FATE_SAMPLES_SEEK) $(FATE_SEEK_EXTRA): libavformat/seek-test$(EXESUF)
$(FATE_SEEK) $(FATE_SAMPLES_SEEK): CMD = run libavformat/seek-test$(EXESUF) $(TARGET_PATH)/tests/data/$(SRC)
$(FATE_SEEK) $(FATE_SAMPLES_SEEK): fate-seek-%: fate-%
fate-seek-%: REF = $(SRC_PATH)/tests/ref/seek/$(@:fate-seek-%=%)
FATE_AVCONV += $(FATE_SEEK)
-FATE_SAMPLES_AVCONV += $(FATE_SAMPLES_SEEK)
-fate-seek: $(FATE_SEEK) $(FATE_SAMPLES_SEEK)
+FATE_SAMPLES_AVCONV += $(FATE_SAMPLES_SEEK) $(FATE_SEEK_EXTRA)
+fate-seek: $(FATE_SEEK) $(FATE_SAMPLES_SEEK) $(FATE_SEEK_EXTRA)