[FFmpeg-cvslog] fate: add rawdiff and use it for subtitles
Clément Bœsch
git at videolan.org
Wed Oct 15 19:37:48 CEST 2014
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sat Oct 11 19:17:33 2014 +0200| [d97d4795fd2648d48fe3ed586472db630c2b5046] | committer: Clément Bœsch
fate: add rawdiff and use it for subtitles
We want subtitles tests to match exactly line endings and trailing
characters.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d97d4795fd2648d48fe3ed586472db630c2b5046
---
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)
More information about the ffmpeg-cvslog
mailing list