Do not run appliance-related checks if not building appliance

This commit is contained in:
Hilko Bengen
2012-01-21 22:56:51 +01:00
committed by Richard W.M. Jones
parent 7004fafc69
commit b6e0552ee5
15 changed files with 56 additions and 13 deletions

View File

@@ -102,7 +102,11 @@ install-data-hook:
# Tests (not comprehensive).
TESTS = run-bindtests run-java-tests
TESTS = run-bindtests
if ENABLE_APPLIANCE
TESTS += run-java-tests
endif ENABLE_APPLIANCE
TESTS_ENVIRONMENT = \
JAVA=$(JAVA) \
CLASSPATH=.:t:libguestfs-$(VERSION).jar \