From 2ad39277d2737e6e041c6df018bcf581bd78d978 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 18 Jun 2013 16:45:37 +0200 Subject: build: setup gtester based tests --- libmm-glib/tests/Makefile.am | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'libmm-glib/tests') diff --git a/libmm-glib/tests/Makefile.am b/libmm-glib/tests/Makefile.am index 92c77d86..be93d4c6 100644 --- a/libmm-glib/tests/Makefile.am +++ b/libmm-glib/tests/Makefile.am @@ -1,6 +1,7 @@ +include $(top_srcdir)/gtester.make -noinst_PROGRAMS = \ - test-common-helpers +noinst_PROGRAMS = test-common-helpers +TEST_PROGS += $(noinst_PROGRAMS) test_common_helpers_SOURCES = \ test-common-helpers.c @@ -19,10 +20,3 @@ test_common_helpers_CPPFLAGS = \ test_common_helpers_LDADD = \ $(top_builddir)/libmm-glib/libmm-glib.la \ $(MM_LIBS) - -if WITH_TESTS - -check-local: test-common-helpers - $(abs_builddir)/test-common-helpers - -endif -- cgit v1.2.3-70-g09d2