[PATCH] build: cleanup declaration of xen tests.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Only build statstest and reconnect if they should be used, so add them
behind the ENABLE_XEN_TESTS conditional.
---
 tests/Makefile.am |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9720b6e..20b6805 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -73,11 +73,14 @@ EXTRA_DIST =		\
 	qemuhelpdata
 
 check_PROGRAMS = virshtest conftest sockettest \
-        nodeinfotest statstest qparamtest virbuftest
+        nodeinfotest qparamtest virbuftest
 
 if WITH_XEN
 check_PROGRAMS += xml2sexprtest sexpr2xmltest \
-	reconnect xmconfigtest xencapstest
+	xmconfigtest xencapstest
+if ENABLE_XEN_TESTS
+check_PROGRAMS += statstest reconnect
+endif
 endif
 if WITH_QEMU
 check_PROGRAMS += qemuxml2argvtest qemuxml2xmltest qemuargv2xmltest qemuhelptest
@@ -149,7 +152,6 @@ EXTRA_DIST += $(test_scripts)
 
 TESTS = virshtest \
         nodeinfotest \
-	statstest \
 	qparamtest \
 	virbuftest \
 	sockettest \
@@ -161,7 +163,7 @@ TESTS += xml2sexprtest \
 	xmconfigtest \
 	xencapstest
 if ENABLE_XEN_TESTS
-TESTS += reconnect
+TESTS += reconnect statstest
 endif
 endif
 
-- 
1.7.3.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]