From d97d4795fd2648d48fe3ed586472db630c2b5046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Sat, 11 Oct 2014 19:17:33 +0200 Subject: [PATCH] fate: add rawdiff and use it for subtitles 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 224da8b090..2f18fa3099 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 01347524db..2c6edc6a61 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)