gobject-introspection r1090 - trunk/tests/scanner



Author: walters
Date: Fri Feb  6 18:57:24 2009
New Revision: 1090
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=1090&view=rev

Log:
Make .tgir diffs fail the check

Modified:
   trunk/tests/scanner/Makefile.am

Modified: trunk/tests/scanner/Makefile.am
==============================================================================
--- trunk/tests/scanner/Makefile.am	(original)
+++ trunk/tests/scanner/Makefile.am	Fri Feb  6 18:57:24 2009
@@ -151,9 +151,11 @@
 %.tgir.check: %.tgir
 	@diff -u -U 10 $(srcdir)/$*-expected.tgir $*.tgir; \
 	if test "$$?" = "0"; then \
-           echo "* $*.tgir"; \
-           rm -f $*.tgir; \
-        fi
+	    echo "* $*.tgir"; \
+	    rm -f $*.tgir; \
+	else \
+	    exit 1; \
+	fi
 
 distclean-local:
 	@if test "$(top_builddir)" != "$(top_srcdir)"; then \



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