summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index b2c69e6b..2731a432 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -51,6 +51,10 @@ TESTS_ENVIRONMENT = \
TMPDIR=$(top_builddir) \
PYTHON=$(PYTHON)
-TESTS = run-bindtests run-python-tests
+TESTS = run-bindtests
-endif
+if ENABLE_APPLIANCE
+TESTS += run-python-tests
+endif ENABLE_APPLIANCE
+
+endif HAVE_PYTHON