提交 5feaef17 编写于 作者: M Michal Privoznik 提交者: Martin Kletzander

virdrivermoduletest: Test all the modules

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: NMichal Privoznik <mprivozn@redhat.com>
上级 79f4c4e6
...@@ -71,6 +71,9 @@ mymain(void) ...@@ -71,6 +71,9 @@ mymain(void)
#else #else
# define USE_NETWORK NULL # define USE_NETWORK NULL
#endif #endif
#ifdef WITH_INTERFACE
TEST("interface", NULL);
#endif
#ifdef WITH_STORAGE #ifdef WITH_STORAGE
TEST("storage", NULL); TEST("storage", NULL);
#endif #endif
...@@ -83,8 +86,11 @@ mymain(void) ...@@ -83,8 +86,11 @@ mymain(void)
#ifdef WITH_NWFILTER #ifdef WITH_NWFILTER
TEST("nwfilter", NULL); TEST("nwfilter", NULL);
#endif #endif
#ifdef WITH_INTERFACE #ifdef WITH_XEN
TEST("interface", NULL); TEST("xen", NULL);
#endif
#ifdef WITH_LIBXL
TEST("libxl", NULL);
#endif #endif
#ifdef WITH_QEMU #ifdef WITH_QEMU
TEST("qemu", USE_NETWORK); TEST("qemu", USE_NETWORK);
...@@ -95,11 +101,11 @@ mymain(void) ...@@ -95,11 +101,11 @@ mymain(void)
#ifdef WITH_UML #ifdef WITH_UML
TEST("uml", NULL); TEST("uml", NULL);
#endif #endif
#ifdef WITH_XEN #ifdef WITH_VBOX
TEST("xen", NULL); TEST("vbox", NULL);
#endif #endif
#ifdef WITH_LIBXL #ifdef WITH_BHYVE
TEST("libxl", NULL); TEST("bhyve", NULL);
#endif #endif
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册