diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-09 00:49:38 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-09 00:49:38 +0100 |
commit | 8ab9c24eb1f6b584cdd99d0010c025c24b32de4e (patch) | |
tree | 3f23c1a0c5280486c16106035f6e8bb4a6295a25 /Makefile.am | |
parent | 8295226de5207a5c7f9ed508d5e0361eeff8a61b (diff) | |
download | neard-8ab9c24eb1f6b584cdd99d0010c025c24b32de4e.tar.gz neard-8ab9c24eb1f6b584cdd99d0010c025c24b32de4e.tar.bz2 neard-8ab9c24eb1f6b584cdd99d0010c025c24b32de4e.zip |
unit: Add test-ndef unit test
test-ndef checks for the URI record parsing validity.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 3c1c187..2dd3517 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,6 +21,8 @@ plugin_LTLIBRARIES = plugin_objects = +unit_objects = + builtin_modules = builtin_sources = builtin_cflags = @@ -80,7 +82,7 @@ test_SCRIPTS = $(test_scripts) endif if TOOLS -noinst_PROGRAMS = tools/snep-send tools/nfctool/nfctool +noinst_PROGRAMS = tools/snep-send tools/nfctool/nfctool unit/test-ndef tools_snep_send_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \ src/bluetooth.c src/ndef.c tools/snep-send.c src/agent.c @@ -91,6 +93,14 @@ tools_nfctool_nfctool_SOURCES = tools/nfctool/main.c tools/nfctool/netlink.c \ tools_nfctool_nfctool_LDADD = @GLIB_LIBS@ @NETLINK_LIBS@ +unit_test_ndef_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \ + src/agent.c src/bluetooth.c src/ndef.c unit/test-ndef.c +unit_test_ndef_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ +unit_objects += $(unit_test_ndef_OBJECTS) + +TESTS = $(unit_tests) + + endif include Makefile.plugins |