summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2013-08-25 18:14:31 +0200
committerArthur de Jong <arthur@arthurdejong.org>2013-08-25 19:20:02 +0200
commitf18729e714c291257181023d65c0393cd022ca85 (patch)
tree8f5e16f1c8ded66443c5e7fda36fd70f3e70d8b7 /tests
parentf54f2ad39caace08e1aa3c37578d117b4d8ce0a6 (diff)
Only run pynslcd tests if it is enabled
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8444d0e..441af73 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -22,7 +22,10 @@ TESTS = test_dict test_set test_tio test_expr test_getpeercred test_cfg \
test_myldap.sh test_common test_nsscmds.sh test_pamcmds.sh \
test_manpages.sh
if HAVE_PYTHON
-TESTS += test_pycompile.sh test_pylint.sh test_pynslcd_cache.py
+ TESTS += test_pycompile.sh test_pylint.sh
+endif
+if ENABLE_PYNSLCD
+ TESTS += test_pynslcd_cache.py
endif
AM_TESTS_ENVIRONMENT = PYTHON='@PYTHON@'; export PYTHON;