summaryrefslogtreecommitdiff
path: root/Makefile-girepository.am
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2013-12-21 16:59:22 -0800
committerColin Walters <walters@verbum.org>2013-12-29 19:19:33 +0000
commit4e88f0eb1535cffa31d8fd15ba593ac0a09b670a (patch)
treee56a5ef23dffd8a37a64b19949ae54e027ce443b /Makefile-girepository.am
parentbeb7a5689446a9fb2ff1d9b68b113d7855fa5126 (diff)
downloadgobject-introspection-4e88f0eb1535cffa31d8fd15ba593ac0a09b670a.tar.gz
tests: Use Automake test harness instead of gtester
Switch both cmph-bdz-test and gthash_test to use the Automake test harness. Use EXTRA_PROGRAMS and EXTRA_LTLIBRARIES along with CLEANUP to allow lazy dependency evaluation of testing targets. https://bugzilla.gnome.org/show_bug.cgi?id=720713
Diffstat (limited to 'Makefile-girepository.am')
-rw-r--r--Makefile-girepository.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile-girepository.am b/Makefile-girepository.am
index c91c41c9..1f956ed0 100644
--- a/Makefile-girepository.am
+++ b/Makefile-girepository.am
@@ -90,7 +90,9 @@ gi_dump_types_CFLAGS = $(GIO_UNIX_CFLAGS) $(GMODULE_CFLAGS)
gi_dump_types_LDADD = $(GIO_UNIX_LIBS) $(GMODULE_LIBS)
endif
-GTESTER_PROGS += gthash-test
+EXTRA_PROGRAMS += gthash-test
+CLEANFILES += gthash-test
+TESTS += gthash-test
gthash_test_SOURCES = girepository/gthash.c girepository/gthash-test.c
gthash_test_CFLAGS = -I$(top_srcdir)/girepository $(GOBJECT_CFLAGS)