[FFmpeg-devel] [PATCH 6/8] fate: introduce subtitles.mak and move SubRip test in it.

Clément Bœsch ubitux at gmail.com
Fri Jun 15 19:29:13 CEST 2012


---
 tests/Makefile           |    1 +
 tests/fate/subtitles.mak |    7 +++++++
 tests/fate/video.mak     |    3 ---
 3 files changed, 8 insertions(+), 3 deletions(-)
 create mode 100644 tests/fate/subtitles.mak

diff --git a/tests/Makefile b/tests/Makefile
index d91c079..266901c 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -72,6 +72,7 @@ include $(SRC_PATH)/tests/fate/qt.mak
 include $(SRC_PATH)/tests/fate/qtrle.mak
 include $(SRC_PATH)/tests/fate/real.mak
 include $(SRC_PATH)/tests/fate/screen.mak
+include $(SRC_PATH)/tests/fate/subtitles.mak
 include $(SRC_PATH)/tests/fate/utvideo.mak
 include $(SRC_PATH)/tests/fate/video.mak
 include $(SRC_PATH)/tests/fate/voice.mak
diff --git a/tests/fate/subtitles.mak b/tests/fate/subtitles.mak
new file mode 100644
index 0000000..6be579d
--- /dev/null
+++ b/tests/fate/subtitles.mak
@@ -0,0 +1,7 @@
+FATE_SUBTITLES += fate-sub-srt
+fate-sub-srt: CMD = md5 -i $(SAMPLES)/sub/SubRip_capability_tester.srt -f ass
+
+FATE_SUBTITLES += $(FATE_SUBTITLES-yes)
+
+FATE_SAMPLES_FFMPEG += $(FATE_SUBTITLES)
+fate-subtitles: $(FATE_SUBTITLES)
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index b0eed0a..02bbd1d 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -191,9 +191,6 @@ fate-smc: CMD = framecrc -i $(SAMPLES)/smc/cass_schi.qt -pix_fmt rgb24
 FATE_VIDEO += fate-sp5x
 fate-sp5x: CMD = framecrc -idct simple -i $(SAMPLES)/sp5x/sp5x_problem.avi
 
-FATE_VIDEO += fate-sub-srt
-fate-sub-srt: CMD = md5 -i $(SAMPLES)/sub/SubRip_capability_tester.srt -f ass
-
 FATE_VIDEO += fate-thp
 fate-thp: CMD = framecrc -idct simple -i $(SAMPLES)/thp/pikmin2-opening1-partial.thp -an
 
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list