summaryrefslogtreecommitdiff
path: root/modules/pam_faildelay/Makefile.am
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-05-08 08:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-05-21 16:51:52 +0000
commitcf8187fb4b937d92f21b0cab7d101631c72388fa (patch)
tree68b1a39e7d53edc2ce78cd5e25d0abc99d9ca977 /modules/pam_faildelay/Makefile.am
parent3c640761976cb1c0f40cf12939364c59078e5ca8 (diff)
pam_faildelay: add a test for return values
* modules/pam_faildelay/tst-pam_faildelay-retval.c: New file. * modules/pam_faildelay/Makefile.am (TESTS): Add $(check_PROGRAMS). (check_PROGRAMS, tst_pam_faildelay_retval_LDADD): New variables.
Diffstat (limited to 'modules/pam_faildelay/Makefile.am')
-rw-r--r--modules/pam_faildelay/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/pam_faildelay/Makefile.am b/modules/pam_faildelay/Makefile.am
index a630c2bd..3a49a117 100644
--- a/modules/pam_faildelay/Makefile.am
+++ b/modules/pam_faildelay/Makefile.am
@@ -12,7 +12,7 @@ dist_man_MANS = pam_faildelay.8
endif
XMLS = README.xml pam_faildelay.8.xml
dist_check_SCRIPTS = tst-pam_faildelay
-TESTS = $(dist_check_SCRIPTS)
+TESTS = $(dist_check_SCRIPTS) $(check_PROGRAMS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
@@ -27,6 +27,9 @@ endif
securelib_LTLIBRARIES = pam_faildelay.la
pam_faildelay_la_LIBADD = $(top_builddir)/libpam/libpam.la
+check_PROGRAMS = tst-pam_faildelay-retval
+tst_pam_faildelay_retval_LDADD = $(top_builddir)/libpam/libpam.la
+
if ENABLE_REGENERATE_MAN
dist_noinst_DATA = README
-include $(top_srcdir)/Make.xml.rules