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

Clément Bœsch ubitux at gmail.com
Fri Jun 22 22:44:02 CEST 2012


---
 tests/Makefile           | 1 +
 tests/fate/subtitles.mak | 5 +++++
 tests/fate/video.mak     | 3 ---
 3 files changed, 6 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..4378c83
--- /dev/null
+++ b/tests/fate/subtitles.mak
@@ -0,0 +1,5 @@
+FATE_SUBTITLES += fate-sub-srt
+fate-sub-srt: CMD = md5 -i $(SAMPLES)/sub/SubRip_capability_tester.srt -f ass
+
+FATE_SAMPLES_FFMPEG += $(FATE_SUBTITLES)
+fate-subtitles: $(FATE_SUBTITLES)
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 0e768a5..8fd3f1a 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -194,9 +194,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.11



More information about the ffmpeg-devel mailing list