Bug 585579: actually check Everything-1.0-expected.gir
authorC. Scott Ananian <cscott@litl.com>
Mon, 15 Jun 2009 20:48:12 +0000 (16:48 -0400)
committerC. Scott Ananian <cscott@litl.com>
Tue, 16 Jun 2009 14:22:24 +0000 (10:22 -0400)
As discussed in bug 585908, we also rename CHECKGIRS and EXPECTEDGIRS to
match the naming in tests/scanner/Makefile.am.

gir/Makefile.am

index aee2262c78597aa53819280fe02308c1d0d9bea9..eece8eced60f5b4787f00c3b1004611f95709b70 100644 (file)
@@ -1,6 +1,6 @@
 include $(top_srcdir)/common.mk
 
-CHECKGIRS =
+EXPECTEDGIRS =
 BUILT_GIRSOURCES = 
 CLEANFILES =
 EXTRA_DIST = 
@@ -192,7 +192,7 @@ Everything-$(TYPELIB_VERSION).gir: libgirepository-everything-1.0.la everything.
        $(srcdir)/everything.h $(srcdir)/everything.c \
        --output $@
 BUILT_GIRSOURCES += Everything-$(TYPELIB_VERSION).gir
-CHECKGIRS += Everything-$(TYPELIB_VERSION)-expected.gir
+EXPECTEDGIRS += Everything-$(TYPELIB_VERSION)-expected.gir
 
 # Generic rules
 CLEANFILES += $(BUILT_GIRSOURCES)
@@ -215,6 +215,7 @@ CLEANFILES += $(typelibs_DATA)
 %.gir.check: %.gir
        @diff -u -U 10 $(srcdir)/$*-expected.gir $*.gir && echo "  TEST  $*.gir"
 
+CHECKGIRS = $(EXPECTEDGIRS:-expected.gir=.gir.check)
 check-local: $(CHECKGIRS)
 
 # Check that typelib -> gir -> typelib transformation is lossless.
@@ -238,4 +239,4 @@ CLEANFILES += $(typelibs_DATA:%.typelib=%.test.typelib)
 #check-local: $(typelibs_DATA:%.typelib=testlib-%)
 check-gir: $(typelibs_DATA:%.typelib=testgir-%)
 
-EXTRA_DIST += $(CHECKGIRS)
+EXTRA_DIST += $(EXPECTEDGIRS)