mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
868c7703e0
commit
94634fbc66
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue