diff options
author | Thomas Huth <thuth@redhat.com> | 2025-02-05 15:11:40 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2025-02-10 19:54:08 +0100 |
commit | b93fff4ec94c13a8d5e8c55d381a189705e6e266 (patch) | |
tree | 5df9cea5a358249468c848539a2c6642542745cd | |
parent | 0146604190e922f3ca32e580f0a46bc04f1975c5 (diff) | |
download | qemu-b93fff4ec94c13a8d5e8c55d381a189705e6e266.zip qemu-b93fff4ec94c13a8d5e8c55d381a189705e6e266.tar.gz qemu-b93fff4ec94c13a8d5e8c55d381a189705e6e266.tar.bz2 |
tests/functional/test_aarch64_virt: Fix vulkan test without egl-headless
The vulkan test currently fails if the egl-headless device is not
available. Let's add a proper check to skip the test in this case.
Fixes: 3d30f882ce ("tests/functional: extend test_aarch64_virt with vulkan test")
Reported-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Cornelia Huck <cohuck@redhat.com>
Message-ID: <20250205141140.97437-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rwxr-xr-x | tests/functional/test_aarch64_virt.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional/test_aarch64_virt.py b/tests/functional/test_aarch64_virt.py index 07c1c13..95f5ce8 100755 --- a/tests/functional/test_aarch64_virt.py +++ b/tests/functional/test_aarch64_virt.py @@ -189,6 +189,8 @@ class Aarch64VirtMachine(QemuSystemTest): self.skipTest("No venus support for virtio-gpu") elif "egl: no drm render node available" in excp.output: 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") else: self.log.info(f"unhandled launch failure: {excp.output}") raise excp |