Acceptance Tests: introduce method for requiring an accelerator
commitefe30d5011b7a667e3edac22ffd5318bc55c14b2
authorCleber Rosa <crosa@redhat.com>
Wed, 3 Feb 2021 17:23:51 +0000 (3 12:23 -0500)
committerCleber Rosa <crosa@redhat.com>
Tue, 16 Feb 2021 03:23:40 +0000 (15 22:23 -0500)
treefe7b22474cfcca5fba367f867af6d47bfb778081
parent6dd7457916e17f7674e96d02b66a376b0f923fcc
Acceptance Tests: introduce method for requiring an accelerator

Some tests explicitly require a QEMU accelerator to be available.
Given that this depends on some runtime aspects not known before
the test is started, such as the currently set QEMU binary, it's
left to be checked also at runtime.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20210203172357.1422425-17-crosa@redhat.com>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
tests/acceptance/avocado_qemu/__init__.py
tests/acceptance/boot_linux.py
tests/acceptance/virtiofs_submounts.py