On Wed, 29 Jan 2020 22:23:25 +0100 Philippe Mathieu-Daudé <phi...@redhat.com> wrote:
> We already use the 'machine' tag in Avocado tests. > If the requested machine is not available in the QEMU binary, > the tests will be cancelled (skipped): > > $ python -m avocado --show=app run > tests/acceptance/x86_cpu_model_versions.py > ... > (04/11) CascadelakeArchCapabilities.test_4_1: CANCEL: Test expects machine > 'pc-i440fx-4.1' which is missing from QEMU binary (0.10 s) > (05/11) CascadelakeArchCapabilities.test_4_0: CANCEL: Test expects machine > 'pc-i440fx-4.0' which is missing from QEMU binary (0.11 s) > ... > > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > tests/acceptance/avocado_qemu/__init__.py | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) Reviewed-by: Cornelia Huck <coh...@redhat.com>