summary refs log tree commit diff stats
path: root/tests/functional/test_aarch64_virt_gpu.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2025-03-25 07:16:09 +0100
committerThomas Huth <thuth@redhat.com>2025-03-27 08:59:35 +0100
commitc3612d0b6a400f6d1179fd2f6860b0e31521083e (patch)
tree6e501db5301a85973769b3362ac50da7c39b3955 /tests/functional/test_aarch64_virt_gpu.py
parent6a93b1c7b4cfa4f5e3c0b8a17177ce14aaa2346c (diff)
downloadfocaccia-qemu-c3612d0b6a400f6d1179fd2f6860b0e31521083e.tar.gz
focaccia-qemu-c3612d0b6a400f6d1179fd2f6860b0e31521083e.zip
tests/functional/test_aarch64_virt_gpu: Skip if "dbus" display isn't available
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>
Diffstat (limited to 'tests/functional/test_aarch64_virt_gpu.py')
-rwxr-xr-xtests/functional/test_aarch64_virt_gpu.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional/test_aarch64_virt_gpu.py b/tests/functional/test_aarch64_virt_gpu.py
index 314d994a7a..3844727857 100755
--- a/tests/functional/test_aarch64_virt_gpu.py
+++ b/tests/functional/test_aarch64_virt_gpu.py
@@ -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