]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/functional: skip vulkan test if missing vulkaninfo
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 12 Mar 2025 19:03:13 +0000 (19:03 +0000)
committerThomas Huth <thuth@redhat.com>
Thu, 13 Mar 2025 07:18:26 +0000 (08:18 +0100)
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>
tests/functional/test_aarch64_virt_gpu.py

index f19a47f8b63934ff2dd23cb6914e736a7dcd0744..314d994a7aad6840bc9591b895e1a1ea6c589107 100755 (executable)
@@ -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')