diff options
Diffstat (limited to 'src/tests/cwrap/Makefile.am')
-rw-r--r-- | src/tests/cwrap/Makefile.am | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/src/tests/cwrap/Makefile.am b/src/tests/cwrap/Makefile.am index 34b5d8bea..9eeb79e7c 100644 --- a/src/tests/cwrap/Makefile.am +++ b/src/tests/cwrap/Makefile.am @@ -53,9 +53,19 @@ check_PROGRAMS += \ $(NULL) endif # HAVE_UID_WRAPPER endif # HAVE_NSS_WRAPPER + +if HAVE_PAM_WRAPPER +if HAVE_LIBPAMTEST +check_PROGRAMS += \ + pam_sss_wrapper-tests \ + $(NULL) +endif # HAVE_LIBPAMTEST +endif # HAVE_PAM_WRAPPER + endif # HAVE_CMOCKA -TESTS = $(check_PROGRAMS) +TESTS = $(check_PROGRAMS) \ + $(NULL) become_user_tests_SOURCES = \ test_become_user.c \ @@ -167,4 +177,20 @@ responder_common_tests_LDADD = \ $(abs_top_builddir)/libsss_test_common.la \ $(NULL) +pam_sss_wrapper_tests_SOURCES = \ + test_wrapper_pam_sss.c \ + $(NULL) +pam_sss_wrapper_tests_CFLAGS = \ + $(AM_CFLAGS) \ + $(NULL) +pam_sss_wrapper_tests_LDADD = \ + $(CMOCKA_LIBS) \ + $(TALLOC_LIBS) \ + $(POPT_LIBS) \ + $(PAM_LIBS) \ + $(PAMTEST_LIBS) \ + $(abs_top_builddir)/libsss_debug.la \ + $(abs_top_builddir)/libsss_test_common.la \ + $(NULL) + tests: $(check_PROGRAMS) |