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
svn path=/trunk/; revision=719
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
+
+2008-10-15 Tommi Komulainen <tommi.komulainen@iki.fi>
+
* tools/generate.c (write_type_name, write_type_info,
write_type_info, write_object_info, write_object_info,
write_interface_info, write_error_domain_info): reduce code
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)