[PATCH 1/3] virdrivermoduletest: Test all the modules

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

 



Even though we kept adding new and new modules (e.g. vbox or bhyve)
the test wasn't updated. Do that now. Moreover, while it's not
crucial, it's nice to reorder test cases to match the order in which
the daemon loads the modules.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 tests/virdrivermoduletest.c | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/tests/virdrivermoduletest.c b/tests/virdrivermoduletest.c
index 840fc28..d823ad9 100644
--- a/tests/virdrivermoduletest.c
+++ b/tests/virdrivermoduletest.c
@@ -71,6 +71,9 @@ mymain(void)
 #else
 # define USE_NETWORK NULL
 #endif
+#ifdef WITH_INTERFACE
+    TEST("interface", NULL);
+#endif
 #ifdef WITH_STORAGE
     TEST("storage", NULL);
 #endif
@@ -83,8 +86,11 @@ mymain(void)
 #ifdef WITH_NWFILTER
     TEST("nwfilter", NULL);
 #endif
-#ifdef WITH_INTERFACE
-    TEST("interface", NULL);
+#ifdef WITH_XEN
+    TEST("xen", NULL);
+#endif
+#ifdef WITH_LIBXL
+    TEST("libxl", NULL);
 #endif
 #ifdef WITH_QEMU
     TEST("qemu", USE_NETWORK);
@@ -95,11 +101,11 @@ mymain(void)
 #ifdef WITH_UML
     TEST("uml", NULL);
 #endif
-#ifdef WITH_XEN
-    TEST("xen", NULL);
+#ifdef WITH_VBOX
+    TEST("vbox", NULL);
 #endif
-#ifdef WITH_LIBXL
-    TEST("libxl", NULL);
+#ifdef WITH_BHYVE
+    TEST("bhyve", NULL);
 #endif
 
     return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
-- 
1.8.5.5

--
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]