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

Martin Storsjö martin at martin.st
Sun Aug 2 23:38:52 EEST 2020


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 --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)
-- 
2.17.1



More information about the ffmpeg-devel mailing list