]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: prepare existing test for change of the default video device type
authorPavel Mores <pmores@redhat.com>
Mon, 25 Nov 2019 10:54:24 +0000 (11:54 +0100)
committerCole Robinson <crobinso@redhat.com>
Mon, 25 Nov 2019 13:47:08 +0000 (08:47 -0500)
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 <crobinso@redhat.com>
Signed-off-by: Pavel Mores <pmores@redhat.com>
tests/qemuxml2xmltest.c

index ed53ddc8c693e52392d07cd50eea4fc8f5d54a71..2c61d7db8af385072fc6bfc85c01b8a3dbff3c98 100644 (file)
@@ -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);