diff mbox series

[FFmpeg-devel,2/2] test: hlsenc: Fix the dependencies of the tests

Message ID 20200802203852.31097-2-martin@martin.st
State New
Headers show
Series [FFmpeg-devel,1/2] test: hlsenc: Don't generate test data with -re
Related show

Checks

Context Check Description
andriy/default pending
andriy/configure warning Failed to apply patch

Commit Message

Martin Storsjö Aug. 2, 2020, 8:38 p.m. UTC
Most tests here don't depend on samples, thus add them to FATE_FFMPEG
instead of FATE_SAMPLES_FFMPEG.

The fate-hls-fmp4_ac3 test depends on both samples and ffprobe; add that
one separately to FATE_SAMPLES_FFMPEG_FFPROBE instead.
---
 tests/fate/hlsenc.mak | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak
index 3c767fd5d9..7e14f1e577 100644
--- a/tests/fate/hlsenc.mak
+++ b/tests/fate/hlsenc.mak
@@ -105,9 +105,10 @@  tests/data/hls_fmp4_ac3.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
 	-hls_time 2 -hls_segment_filename "$(TARGET_PATH)/tests/data/hls_fmp4_ac3_%d.m4s" \
 	$(TARGET_PATH)/tests/data/hls_fmp4_ac3.m3u8 2>/dev/null
 
-FATE_HLSENC-$(call ALLYES, HLS_DEMUXER EAC3_DEMUXER) += fate-hls-fmp4_ac3
+FATE_HLSENC_SAMPLES_FFPROBE-$(call ALLYES, HLS_DEMUXER EAC3_DEMUXER) += fate-hls-fmp4_ac3
 fate-hls-fmp4_ac3: tests/data/hls_fmp4_ac3.m3u8
 fate-hls-fmp4_ac3: CMD = probeaudiostream $(TARGET_PATH)/tests/data/now_ac3.mp4
 
-FATE_SAMPLES_FFMPEG += $(FATE_HLSENC-yes)
-fate-hlsenc: $(FATE_HLSENC-yes)
+FATE_FFMPEG += $(FATE_HLSENC-yes)
+FATE_SAMPLES_FFMPEG_FFPROBE += $(FATE_HLSENC_SAMPLES_FFPROBE-yes)
+fate-hlsenc: $(FATE_HLSENC-yes) $(FATE_HLSENC_SAMPLES_FFPROBE-yes)