提交 bb6543aa 编写于 作者: J Jiri Denemark

xen tests: Fix PV-VFB tests with RHEL-5 API

RHEL-5 Xen doesn't support the old style vnc configuration. In sexpr, we
can't really check it with rhel5-api turned on. However, for XM
configuration files it's sufficient to use cfg version 1 instead of 2.
上级 e27277eb
...@@ -204,8 +204,8 @@ mymain(int argc, char **argv) ...@@ -204,8 +204,8 @@ mymain(int argc, char **argv)
ret = -1; \ ret = -1; \
} while (0) } while (0)
DO_TEST("paravirt-old-pvfb", 2); DO_TEST("paravirt-old-pvfb", 1);
DO_TEST("paravirt-old-pvfb-vncdisplay", 2); DO_TEST("paravirt-old-pvfb-vncdisplay", 1);
DO_TEST("paravirt-new-pvfb", 3); DO_TEST("paravirt-new-pvfb", 3);
DO_TEST("paravirt-new-pvfb-vncdisplay", 3); DO_TEST("paravirt-new-pvfb-vncdisplay", 3);
DO_TEST("paravirt-net-e1000", 3); DO_TEST("paravirt-net-e1000", 3);
......
...@@ -109,7 +109,12 @@ mymain(int argc, char **argv) ...@@ -109,7 +109,12 @@ mymain(int argc, char **argv)
DO_TEST("pv", "pv", "pvtest", 2); DO_TEST("pv", "pv", "pvtest", 2);
DO_TEST("fv", "fv-v2", "fvtest", 2); DO_TEST("fv", "fv-v2", "fvtest", 2);
DO_TEST("fv-vncunused", "fv-vncunused", "fvtest", 2); DO_TEST("fv-vncunused", "fv-vncunused", "fvtest", 2);
#ifdef WITH_RHEL5_API
/* RHEL-5 Xen doesn't support the old style vnc configuration */
DO_TEST("pv-vfb-orig", "pv-vfb-new", "pvtest", 2);
#else
DO_TEST("pv-vfb-orig", "pv-vfb-orig", "pvtest", 2); DO_TEST("pv-vfb-orig", "pv-vfb-orig", "pvtest", 2);
#endif
DO_TEST("pv-vfb-new", "pv-vfb-new", "pvtest", 3); DO_TEST("pv-vfb-new", "pv-vfb-new", "pvtest", 3);
DO_TEST("pv-vfb-new-auto", "pv-vfb-new-auto", "pvtest", 3); DO_TEST("pv-vfb-new-auto", "pv-vfb-new-auto", "pvtest", 3);
DO_TEST("pv-bootloader", "pv-bootloader", "pvtest", 1); DO_TEST("pv-bootloader", "pv-bootloader", "pvtest", 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册