summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am21
1 files changed, 20 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5039cf48..e12b769c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -146,7 +146,8 @@ endif
if HAVE_CMOCKA
non_interactive_cmocka_based_tests = \
- nss-srv-tests
+ nss-srv-tests \
+ test-find-uid
endif
check_PROGRAMS = \
@@ -1214,6 +1215,24 @@ nss_srv_tests_LDFLAGS = \
nss_srv_tests_LDADD = \
$(CMOCKA_LIBS) \
libsss_util.la
+
+test_find_uid_DEPENDENCIES = \
+ $(ldblib_LTLIBRARIES)
+test_find_uid_SOURCES = \
+ src/tests/cmocka/test_find_uid.c \
+ src/util/find_uid.c \
+ src/util/atomic_io.c \
+ src/util/strtonum.c
+test_find_uid_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(TALLOC_CFLAGS) \
+ $(DHASH_CFLAGS)
+test_find_uid_LDADD = \
+ libsss_debug.la \
+ $(TALLOC_LIBS) \
+ $(DHASH_LIBS) \
+ $(CMOCKA_LIBS) \
+ libsss_util.la
endif
noinst_PROGRAMS = pam_test_client