summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorHilko Bengen <bengen@hilluzination.de>2012-01-21 22:56:51 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-01-23 09:08:33 +0000
commitb6e0552ee5359da785bd1c08cadf022190e98720 (patch)
treedc27506bf79b6fb19f1d6aba1fda8087306416b3 /python
parent7004fafc6989efbbb1ef46723e8a91f936f16249 (diff)
downloadlibguestfs-b6e0552ee5359da785bd1c08cadf022190e98720.tar.gz
libguestfs-b6e0552ee5359da785bd1c08cadf022190e98720.tar.xz
libguestfs-b6e0552ee5359da785bd1c08cadf022190e98720.zip
Do not run appliance-related checks if not building appliance
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