diff options
author | Clément Bœsch <u@pkh.me> | 2014-10-11 21:17:33 +0400 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2014-10-15 21:24:39 +0400 |
commit | d97d4795fd2648d48fe3ed586472db630c2b5046 (patch) | |
tree | 3c969433bdb98779945e6d2867e05ca68e14db83 /tests | |
parent | 8022bb1d9271f21167ecb4efc39ac17ca1612a1a (diff) |
fate: add rawdiff and use it for subtitles
We want subtitles tests to match exactly line endings and trailing
characters.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/fate-run.sh | 1 | ||||
-rw-r--r-- | tests/fate/subtitles.mak | 1 |
2 files changed, 2 insertions, 0 deletions
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) |