From: Peter Krempa Date: Wed, 22 Jun 2022 14:14:47 +0000 (+0200) Subject: qemuxml2(argv|xml)test: Remove use of QEMU_CAPS_AUDIODEV in fake-caps tests X-Git-Tag: v8.7.0-rc1~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95215e6b7947b6c4035c4e591a465601496f5919;p=thirdparty%2Flibvirt.git qemuxml2(argv|xml)test: Remove use of QEMU_CAPS_AUDIODEV in fake-caps tests The code no longer uses the capability so the tests don't need to assert it. Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik Reviewed-by: Ján Tomko --- diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 48c207ca3e..6dfeb25e10 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1500,7 +1500,7 @@ mymain(void) DO_TEST("graphics-dbus-p2p", QEMU_CAPS_DEVICE_CIRRUS_VGA, QEMU_CAPS_DISPLAY_DBUS); DO_TEST("graphics-dbus-audio", - QEMU_CAPS_DEVICE_CIRRUS_VGA, QEMU_CAPS_DISPLAY_DBUS, QEMU_CAPS_AUDIODEV); + QEMU_CAPS_DEVICE_CIRRUS_VGA, QEMU_CAPS_DISPLAY_DBUS); DO_TEST("graphics-dbus-chardev", QEMU_CAPS_DEVICE_ISA_SERIAL, QEMU_CAPS_DEVICE_CIRRUS_VGA, diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 3c7a4eb65a..8299c724c1 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -411,8 +411,7 @@ mymain(void) QEMU_CAPS_DISPLAY_DBUS); DO_TEST("graphics-dbus-audio", QEMU_CAPS_DEVICE_CIRRUS_VGA, - QEMU_CAPS_DISPLAY_DBUS, - QEMU_CAPS_AUDIODEV); + QEMU_CAPS_DISPLAY_DBUS); DO_TEST("graphics-dbus-chardev", QEMU_CAPS_DEVICE_CIRRUS_VGA, QEMU_CAPS_DISPLAY_DBUS); @@ -1405,18 +1404,17 @@ mymain(void) DO_TEST_NOCAPS("audio-file-best"); /* Full