From: Thomas Huth Date: Wed, 5 Feb 2025 14:11:40 +0000 (+0100) Subject: tests/functional/test_aarch64_virt: Fix vulkan test without egl-headless X-Git-Tag: v10.0.0-rc0~57^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b93fff4ec94c13a8d5e8c55d381a189705e6e266;p=thirdparty%2Fqemu.git 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 Acked-by: Alex Bennée Tested-by: Cornelia Huck Message-ID: <20250205141140.97437-1-thuth@redhat.com> Signed-off-by: Thomas Huth --- diff --git a/tests/functional/test_aarch64_virt.py b/tests/functional/test_aarch64_virt.py index 07c1c13638..95f5ce8b4c 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