From f18729e714c291257181023d65c0393cd022ca85 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 25 Aug 2013 18:14:31 +0200 Subject: Only run pynslcd tests if it is enabled --- tests/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') 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; -- cgit v1.2.3