[Libguestfs] [PATCH] Do not run test-virt-format.sh if appliance has not been built

Hilko Bengen bengen at hilluzination.de
Sun Feb 12 11:36:03 UTC 2012


---
 format/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/format/Makefile.am b/format/Makefile.am
index 0d1b28e..1dc8f14 100644
--- a/format/Makefile.am
+++ b/format/Makefile.am
@@ -74,4 +74,6 @@ TESTS_ENVIRONMENT = \
 	MALLOC_PERTURB_=$(random_val) \
 	$(top_builddir)/run
 
+if ENABLE_APPLIANCE
 TESTS = test-virt-format.sh
+endif ENABLE_APPLIANCE
-- 
1.7.9




More information about the Libguestfs mailing list