[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] Acceptance tests: make better use of machine tags
From: |
Cleber Rosa |
Subject: |
[PATCH 0/3] Acceptance tests: make better use of machine tags |
Date: |
Tue, 24 Sep 2019 15:44:58 -0400 |
The "arch" tags applied to acceptance tests, besides allowing a user
to select tests for one specific target architecture, also provides
the the feature of setting the arch to be used if none was given by a
parameter.
This series does the same thing for machine tags. If a test is tagged
with "machine", its value will be set on the QEMUMachine instances
created/managed by the test. Hopefully this will eliminate boiler
plate code, and make writing tests more straightforward.
Cleber Rosa (3):
Acceptance test x86_cpu_model_versions: use default vm
Acceptance tests: introduce utility method for tags unique vals
Acceptance Tests: use avocado tags for machine type
docs/devel/testing.rst | 18 +++
tests/acceptance/avocado_qemu/__init__.py | 24 +++-
tests/acceptance/boot_linux_console.py | 15 +--
tests/acceptance/cpu_queries.py | 2 +-
tests/acceptance/linux_initrd.py | 2 +-
tests/acceptance/linux_ssh_mips_malta.py | 5 -
tests/acceptance/machine_m68k_nextcube.py | 21 +---
tests/acceptance/x86_cpu_model_versions.py | 137 ++++++++++++---------
8 files changed, 122 insertions(+), 102 deletions(-)
--
2.21.0
- [PATCH 0/3] Acceptance tests: make better use of machine tags,
Cleber Rosa <=