diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2025-03-04 22:24:10 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2025-03-10 10:30:00 +0000 |
commit | 94634fbc66869b31491e95c26eab731d67c13e7c (patch) | |
tree | 9a20ccc5e6c5a70bc1a45819b09b2bfa8d2f28a4 | |
parent | 868c7703e052a14f9c612c38f7171581cb626f38 (diff) | |
download | qemu-94634fbc66869b31491e95c26eab731d67c13e7c.zip qemu-94634fbc66869b31491e95c26eab731d67c13e7c.tar.gz qemu-94634fbc66869b31491e95c26eab731d67c13e7c.tar.bz2 |
tests/functional: ensure we have a GPU device for tests
It's possible to build QEMU without support for the GL enabled GPU
devices and we can catch that earlier with an explicit check.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-4-alex.bennee@linaro.org>
-rwxr-xr-x | tests/functional/test_aarch64_virt_gpu.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/test_aarch64_virt_gpu.py b/tests/functional/test_aarch64_virt_gpu.py index b4679c0..9a1ee2b 100755 --- a/tests/functional/test_aarch64_virt_gpu.py +++ b/tests/functional/test_aarch64_virt_gpu.py @@ -91,6 +91,9 @@ class Aarch64VirtGPUMachine(LinuxKernelTest): @skipIfMissingCommands('zstd') def test_aarch64_virt_with_vulkan_gpu(self): + + self.require_device('virtio-gpu-gl-pci') + self._launch_virt_gpu("virtio-gpu-gl-pci,hostmem=4G,blob=on,venus=on") self._run_virt_weston_test("vkmark -b:duration=1.0") |