[FFmpeg-devel] [PATCH 1/7] fate: add rawdiff and use it for subtitles
Clément Bœsch
u at pkh.me
Sat Oct 11 19:59:06 CEST 2014
We want subtitles tests to match exactly line endings and trailing
characters.
---
tests/fate-run.sh | 1 +
tests/fate/subtitles.mak | 1 +
2 files changed, 2 insertions(+)
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 224da8b..2f18fa3 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -229,6 +229,7 @@ fi
if test -e "$ref" || test $cmp = "oneline" ; then
case $cmp in
diff) diff -u -b "$ref" "$outfile" >$cmpfile ;;
+ rawdiff)diff -u "$ref" "$outfile" >$cmpfile ;;
oneoff) oneoff "$ref" "$outfile" >$cmpfile ;;
stddev) stddev "$ref" "$outfile" >$cmpfile ;;
oneline)oneline "$ref" "$outfile" >$cmpfile ;;
diff --git a/tests/fate/subtitles.mak b/tests/fate/subtitles.mak
index 0134752..2c6edc6 100644
--- a/tests/fate/subtitles.mak
+++ b/tests/fate/subtitles.mak
@@ -62,4 +62,5 @@ FATE_SUBTITLES-$(call ENCMUX, ASS, ASS) += $(FATE_SUBTITLES_ASS-yes)
FATE_SUBTITLES += $(FATE_SUBTITLES-yes)
FATE_SAMPLES_FFMPEG += $(FATE_SUBTITLES)
+fate-subtitles: CMP = rawdiff
fate-subtitles: $(FATE_SUBTITLES)
--
2.1.2
More information about the ffmpeg-devel
mailing list