From 95215e6b7947b6c4035c4e591a465601496f5919 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 22 Jun 2022 16:14:47 +0200 Subject: [PATCH] qemuxml2(argv|xml)test: Remove use of QEMU_CAPS_AUDIODEV in fake-caps tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tests/qemuxml2argvtest.c | 2 +- tests/qemuxml2xmltest.c | 20 +++++++++----------- 2 files changed, 10 insertions(+), 12 deletions(-) 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