build: setup gtester based tests

This commit is contained in:
Aleksander Morgado
2013-06-18 16:50:47 +02:00
parent f3f499fcec
commit 2ad39277d2
5 changed files with 106 additions and 48 deletions
+3 -15
View File
@@ -1,3 +1,4 @@
include $(top_srcdir)/gtester.make
noinst_PROGRAMS = \
test-modem-helpers \
@@ -10,6 +11,8 @@ if WITH_QMI
noinst_PROGRAMS += test-modem-helpers-qmi
endif
TEST_PROGS += $(noinst_PROGRAMS)
################
test_modem_helpers_SOURCES = \
@@ -157,18 +160,3 @@ if WITH_QMI
test_sms_part_CPPFLAGS += $(QMI_CFLAGS)
test_sms_part_LDADD += $(QMI_LIBS)
endif
################
if WITH_TESTS
check-local: $(noinst_PROGRAMS)
$(abs_builddir)/test-modem-helpers
$(abs_builddir)/test-charsets
$(abs_builddir)/test-qcdm-serial-port
$(abs_builddir)/test-sms-part
if WITH_QMI
$(abs_builddir)/test-modem-helpers-qmi
endif
endif