summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMarcin Malagowski <marcin.malagowski@mobica.com>2013-03-23 12:40:19 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-03-25 12:00:51 +0100
commit8a58243c38cd2a7cb364fa978d081d6d51d46e95 (patch)
treee30597b8d98cda2d66d4637e852fe5eebd26b631 /Makefile.am
parentcd778960a08e78a601397223941dd457b9061236 (diff)
downloadneard-8a58243c38cd2a7cb364fa978d081d6d51d46e95.tar.gz
neard-8a58243c38cd2a7cb364fa978d081d6d51d46e95.tar.bz2
neard-8a58243c38cd2a7cb364fa978d081d6d51d46e95.zip
unit: Add SNEP test utilities
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5ed2b6f..c4f1346 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -111,7 +111,7 @@ tools_nfctool_nfctool_SOURCES = tools/nfctool/main.c \
tools_nfctool_nfctool_LDADD = @GLIB_LIBS@ @NETLINK_LIBS@
-unit_tests = unit/test-ndef-parse unit/test-ndef-build
+unit_tests = unit/test-ndef-parse unit/test-ndef-build unit/test-snep-read
unit_test_ndef_parse_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \
src/agent.c src/bluetooth.c \
@@ -123,6 +123,13 @@ unit_test_ndef_build_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \
src/ndef.c unit/test-ndef-build.c
unit_test_ndef_build_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
+unit_test_snep_read_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \
+ src/agent.c src/bluetooth.c \
+ src/ndef.c src/snep.c \
+ unit/test-snep-read.c unit/test-utils.c \
+ unit/test-utils.h
+unit_test_snep_read_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
+
noinst_PROGRAMS += $(unit_tests)
TESTS = $(unit_tests)