gobject-introspection r719 - in trunk: . tests



Author: tko
Date: Wed Oct 15 22:08:53 2008
New Revision: 719
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=719&view=rev

Log:
2008-10-15  Tommi Komulainen  <tommi komulainen iki fi>

	* tests/Makefile.am: fix tests to compare xml to xml instead of
	typelib to xml, and stop on error

Modified:
   trunk/ChangeLog
   trunk/tests/Makefile.am

Modified: trunk/tests/Makefile.am
==============================================================================
--- trunk/tests/Makefile.am	(original)
+++ trunk/tests/Makefile.am	Wed Oct 15 22:08:53 2008
@@ -22,11 +22,13 @@
 	object.gir.test		\
 	struct.gir.test
 
+CLEANFILES = $(GIRTESTS:%.gir.test=%.1) $(GIRTESTS:%.gir.test=%.2)
+
 %.gir.test: %.gir Makefile
 	@echo Testing $<:
-	$(DEBUG) $(top_builddir)/tools/g-ir-compiler --includedir=$(top_builddir)/gir $< > $*.1; \
-	$(DEBUG) $(top_builddir)/tools/g-ir-generate --includedir=$(top_builddir)/gir $*.1 > $*.2; \
-	diff -u $*.1 $*.2; rm $*.1 $*.2
+	$(DEBUG) $(top_builddir)/tools/g-ir-compiler --includedir=$(top_builddir)/gir $< > $*.1
+	$(DEBUG) $(top_builddir)/tools/g-ir-generate --includedir=$(top_builddir)/gir $*.1 > $*.2
+	diff -u $*.gir $*.2 && rm $*.1 $*.2
 
 
 check-local: $(GIRTESTS)



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