]> git.proxmox.com Git - mirror_qemu.git/commit
tests/avocado: Skip tests that require a missing accelerator
authorFabiano Rosas <farosas@suse.de>
Mon, 13 Feb 2023 20:29:17 +0000 (17:29 -0300)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Feb 2023 16:26:17 +0000 (16:26 +0000)
commit5ad2d7a97cd9d1ed2527d888d343ee40f1b871f3
tree53cca53eed9087d04c0a0fd9c5d361dc9f12ac7a
parent9200d5cc749fe06c52da395d94f39aaa5c380635
tests/avocado: Skip tests that require a missing accelerator

If a test was tagged with the "accel" tag and the specified
accelerator it not present in the qemu binary, cancel the test.

We can now write tests without explicit calls to require_accelerator,
just the tag is enough.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/avocado/avocado_qemu/__init__.py