From: Pavel Mores Date: Mon, 25 Nov 2019 10:54:24 +0000 (+0100) Subject: qemu: prepare existing test for change of the default video device type X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4a067e70fabbdf6789ae56ea60091717ce8ec8b3;p=libvirt.git qemu: prepare existing test for change of the default video device type The test relied implicitly on default video device being cirrus. As we're about to change that the test would start failing. To avoid this, just make the test's requirement explicit. Reviewed-by: Cole Robinson Signed-off-by: Pavel Mores --- diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index ed53ddc8c6..2c61d7db8a 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -372,7 +372,8 @@ mymain(void) DO_TEST("graphics-egl-headless-rendernode", QEMU_CAPS_DEVICE_CIRRUS_VGA, QEMU_CAPS_EGL_HEADLESS, - QEMU_CAPS_EGL_HEADLESS_RENDERNODE); + QEMU_CAPS_EGL_HEADLESS_RENDERNODE, + QEMU_CAPS_DEVICE_CIRRUS_VGA); DO_TEST("input-usbmouse", NONE); DO_TEST("input-usbtablet", NONE);