diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2013-12-21 16:59:22 -0800 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-12-29 19:19:33 +0000 |
commit | 4e88f0eb1535cffa31d8fd15ba593ac0a09b670a (patch) | |
tree | e56a5ef23dffd8a37a64b19949ae54e027ce443b /Makefile-cmph.am | |
parent | beb7a5689446a9fb2ff1d9b68b113d7855fa5126 (diff) | |
download | gobject-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-cmph.am')
-rw-r--r-- | Makefile-cmph.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile-cmph.am b/Makefile-cmph.am index 7bca06b4..a2edcf6f 100644 --- a/Makefile-cmph.am +++ b/Makefile-cmph.am @@ -1,4 +1,4 @@ -noinst_LTLIBRARIES += libcmph.la +EXTRA_LTLIBRARIES += libcmph.la libcmph_la_CPPFLAGS = -Icmph $(GLIB_CFLAGS) libcmph_la_LIBADD = -lm $(GLIB_LIBS) @@ -66,9 +66,12 @@ libcmph_la_SOURCES = \ girepository/cmph/vstack.c \ girepository/cmph/vstack.h -GTESTER_PROGS += cmph-bdz-test + +TESTS += cmph-bdz-test +EXTRA_PROGRAMS += cmph-bdz-test cmph_bdz_test_SOURCES = girepository/cmph-bdz-test.c cmph_bdz_test_CFLAGS = -I$(top_srcdir)/girepository/cmph $(GOBJECT_CFLAGS) cmph_bdz_test_LDADD = libcmph.la $(GOBJECT_LIBS) +CLEANFILES += cmph-bdz-test libcmph.la |