summaryrefslogtreecommitdiff
path: root/libqcdm
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-06-18 16:45:37 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-06-18 16:50:47 +0200
commit2ad39277d2737e6e041c6df018bcf581bd78d978 (patch)
treea9ddddc4417816907fd8da14ef34f4805d729d9e /libqcdm
parentf3f499fcec13e6ffa9a428972c1108e7c23065d2 (diff)
downloadModemManager-2ad39277d2737e6e041c6df018bcf581bd78d978.tar.gz
build: setup gtester based tests
Diffstat (limited to 'libqcdm')
-rw-r--r--libqcdm/tests/Makefile.am15
1 files changed, 4 insertions, 11 deletions
diff --git a/libqcdm/tests/Makefile.am b/libqcdm/tests/Makefile.am
index 50a7170dc..ddf7d7b5c 100644
--- a/libqcdm/tests/Makefile.am
+++ b/libqcdm/tests/Makefile.am
@@ -1,11 +1,12 @@
-if WITH_TESTS
+include $(top_srcdir)/gtester.make
+
+noinst_PROGRAMS = test-qcdm modepref
+TEST_PROGS += test-qcdm
INCLUDES = \
-I$(top_srcdir)/libqcdm/src \
-I$(top_srcdir)/src
-noinst_PROGRAMS = test-qcdm modepref
-
test_qcdm_SOURCES = \
test-qcdm-crc.c \
test-qcdm-crc.h \
@@ -18,9 +19,7 @@ test_qcdm_SOURCES = \
test-qcdm-result.c \
test-qcdm-result.h \
test-qcdm.c
-
test_qcdm_CPPFLAGS = $(MM_CFLAGS)
-
test_qcdm_LDADD = $(MM_LIBS)
modepref_SOURCES = modepref.c
@@ -34,9 +33,3 @@ else
test_qcdm_LDADD += $(top_builddir)/libqcdm/src/libqcdm.la
modepref_LDADD += $(top_builddir)/libqcdm/src/libqcdm.la
endif
-
-check-local: test-qcdm
- $(abs_builddir)/test-qcdm
-
-endif
-