[gobject-introspection/wip/docs: 8/23] tests: Ignore whitespace differences in template comparisons



commit 0667d9f124c1da66376e774e2e96b76cdc70700a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Jan 31 10:52:53 2013 -0500

    tests: Ignore whitespace differences in template comparisons
    
    Adding more Mako code to reduce duplicate code will add newlines to
    the output. Ignore these.

 tests/doctool/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/doctool/Makefile.am b/tests/doctool/Makefile.am
index 1e61cbb..9a0734c 100644
--- a/tests/doctool/Makefile.am
+++ b/tests/doctool/Makefile.am
@@ -41,10 +41,10 @@ GIRS += DocExamples-1.0.gir
 	$(AM_V_at)$(INTROSPECTION_DOCTOOL) --language Python $*.gir -o $*-Python/
 
 %-C.page.check: %-C
-	@diff -u -U 10 $(srcdir)/$*-C-expected $*-C && echo "  TEST  $*-C" && rm -rf $*-C
+	@diff -u -w -B -U 10 $(srcdir)/$*-C-expected $*-C && echo "  TEST  $*-C" && rm -rf $*-C
 
 %-Python.page.check: %-Python
-	@diff -u -U 10 $(srcdir)/$*-Python-expected $*-Python && echo "  TEST  $*-Python" && rm -rf $*-Python
+	@diff -u -w -B -U 10 $(srcdir)/$*-Python-expected $*-Python && echo "  TEST  $*-Python" && rm -rf $*-Python
 
 check-local: $(CHECK_TARGETS) $(TYPELIBS)
 clean-local:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]