]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/functional/test_aarch64_virt_gpu: Skip if "dbus" display isn't available
authorThomas Huth <thuth@redhat.com>
Tue, 25 Mar 2025 06:16:09 +0000 (07:16 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 27 Mar 2025 07:59:35 +0000 (08:59 +0100)
This test currently fails if the "dbus" display has not been compiled
into the binary (which can happen when CFI has been enabled, for example).
Check for the error message to skip the test in that case.

While we're at it, also make sure that this test is covered in the
right section in the MAINTAINERS file.

Message-ID: <20250325061609.272847-1-thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
MAINTAINERS
tests/functional/test_aarch64_virt_gpu.py

index 8f470a1c9b7c3be7a13e5e13c1a148be054688ec..c1ccb0acd1438d7fde18c96092897b20ce0c3562 100644 (file)
@@ -1018,7 +1018,7 @@ S: Maintained
 F: hw/arm/virt*
 F: include/hw/arm/virt.h
 F: docs/system/arm/virt.rst
-F: tests/functional/test_aarch64_virt.py
+F: tests/functional/test_aarch64_virt*.py
 F: tests/functional/test_aarch64_tuxrun.py
 F: tests/functional/test_arm_tuxrun.py
 
index 314d994a7aad6840bc9591b895e1a1ea6c589107..38447278579e3efcbed8620fdd91a84ca4d2dc0d 100755 (executable)
@@ -74,6 +74,8 @@ class Aarch64VirtGPUMachine(LinuxKernelTest):
                 self.skipTest("Can't access host DRM render node")
             elif "'type' does not accept value 'egl-headless'" in excp.output:
                 self.skipTest("egl-headless support is not available")
+            elif "'type' does not accept value 'dbus'" in excp.output:
+                self.skipTest("dbus display support is not available")
             else:
                 self.log.info("unhandled launch failure: %s", excp.output)
                 raise excp