summaryrefslogtreecommitdiffstats
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2018-11-19 09:55:45 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2018-11-26 20:03:39 +0530
commitf870b48ec87c6f41e1f25343d6cf2f09c43a5647 (patch)
tree86d94166d3a8a6c271cff542a34b64176f9edc9e /test/Makefile.am
parentf5bd891cf5afb30085d1a5e93d86bd022c097238 (diff)
downloadphosphor-user-manager-f870b48ec87c6f41e1f25343d6cf2f09c43a5647.tar.gz
phosphor-user-manager-f870b48ec87c6f41e1f25343d6cf2f09c43a5647.zip
Add unit tests for ldap mapper application
Change-Id: I2d75a4f2e27f6e6640e8a16cc7834116b260f547 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 5026e30..e3c1366 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -34,3 +34,12 @@ ldap_config_test_LDFLAGS = $(utest_LDFLAGS) \
-lgmock
ldap_config_test_SOURCES = ldap_config_test.cpp utils_test.cpp
ldap_config_test_LDADD = $(top_builddir)/phosphor-ldap-config/ldap_configuration.o $(top_builddir)/phosphor-ldap-config/utils.o
+
+check_PROGRAMS += ldap_mapper_test
+ldap_mapper_test_CPPFLAGS = $(utest_CPPFLAGS)
+ldap_mapper_test_CXXFLAGS = $(utest_CXXFLAGS)
+ldap_mapper_test_LDFLAGS = $(utest_LDFLAGS)
+ldap_mapper_test_SOURCES = ldap_mapper_test.cpp
+ldap_mapper_test_LDADD = $(top_builddir)/phosphor-ldap-mapper/ldap_mapper_entry.o \
+ $(top_builddir)/phosphor-ldap-mapper/ldap_mapper_mgr.o \
+ $(top_builddir)/phosphor-ldap-mapper/ldap_mapper_serialize.o
OpenPOWER on IntegriCloud