summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-10-18 14:33:32 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2011-10-18 23:58:12 +0300
commit029077107eb09895f973184b1075fdf4c46d9041 (patch)
treec9adffabf1c599f1917c998cc625830892a40075 /Makefile.am
parent4a4b56556ff3682925bb5bb09da9db022df55e9d (diff)
Add basic unit tests framework for EIR parsing
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 06332de8..138ab322 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -443,6 +443,18 @@ if MCAP
INCLUDES += -I$(builddir)/health
endif
+unit_objects =
+
+unit_tests = unit/test-eir
+
+noinst_PROGRAMS += $(unit_tests)
+
+unit_test_eir_SOURCES = unit/test-eir.c src/eir.c src/glib-helper.c
+unit_test_eir_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@
+unit_objects += $(unit_test_eir_OBJECTS)
+
+TESTS = $(unit_tests)
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = bluez.pc