Improve test coverage in gobject/
[platform/upstream/glib.git] / gobject / tests / Makefile.am
index b05c23a..390f41a 100644 (file)
@@ -1,4 +1,5 @@
 include $(top_srcdir)/Makefile.decl
+NULL =
 
 AM_CPPFLAGS =                                  \
        -g                                      \
@@ -29,7 +30,9 @@ TEST_PROGS +=                 \
        properties      \
        reference       \
        ifaceproperties \
-       valuearray
+       valuearray      \
+       type            \
+       $(NULL)
 
 signals_SOURCES = signals.c marshalers.c
 
@@ -53,7 +56,7 @@ insttest_PROGRAMS = $(TEST_PROGS)
 testmetadir = $(datadir)/installed-tests/$(PACKAGE)
 testmeta_DATA = $(TEST_PROGS:=.test)
 
-%.test: Makefile
+%.test: %$(EXEEXT) Makefile
        $(AM_V_GEN) (echo '[Test]' > $@.tmp; \
         echo 'Type=session' >> $@.tmp; \
         echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \