aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2025-03-12 19:03:13 +0000
committerThomas Huth <thuth@redhat.com>2025-03-13 08:18:26 +0100
commitb3c03666fb10b4900e5bbff0a2b403731730e637 (patch)
treed8b2357d639b014e245ced56caf69ea394a51130
parent28adad0a4d9f1f64f9f04748c6348a64ba7ad990 (diff)
downloadqemu-b3c03666fb10b4900e5bbff0a2b403731730e637.zip
qemu-b3c03666fb10b4900e5bbff0a2b403731730e637.tar.gz
qemu-b3c03666fb10b4900e5bbff0a2b403731730e637.tar.bz2
tests/functional: skip vulkan test if missing vulkaninfo
I could have sworn I had this is a previous iteration of the patches but I guess it got lost in a re-base. As we are going to call vulkaninfo to probe for "bad" drivers we need to skip if the binary isn't available. Fixes: 9f7e493d11 (tests/functional: skip vulkan tests with nVidia) Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-ID: <20250312190314.1632357-1-alex.bennee@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rwxr-xr-xtests/functional/test_aarch64_virt_gpu.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional/test_aarch64_virt_gpu.py b/tests/functional/test_aarch64_virt_gpu.py
index f19a47f..314d994 100755
--- a/tests/functional/test_aarch64_virt_gpu.py
+++ b/tests/functional/test_aarch64_virt_gpu.py
@@ -115,6 +115,7 @@ class Aarch64VirtGPUMachine(LinuxKernelTest):
self._run_virt_weston_test("glmark2-wayland -b:duration=1.0")
@skipIfMissingCommands('zstd')
+ @skipIfMissingCommands('vulkaninfo')
def test_aarch64_virt_with_vulkan_gpu(self):
self.require_device('virtio-gpu-gl-pci')