Skip to content

Acceptance tests: make better use of machine tags

Cleber Rosa qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Acceptance test x86_cpu_model_versions: use default vmtests/acceptance/x86_cpu_model_versions.py+46 -540 replies
2/3Acceptance tests: introduce utility method for tags unique valstests/acceptance/avocado_qemu/__init__.py+13 -63 replies
3/3Acceptance Tests: use avocado tags for machine typedocs/devel/testing.rst tests/acceptance/avocado_qemu/__init__.py tests/acceptance/boot_linux_console.py +5 more+71 -501 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchWainer dos Santos Moschetta
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Acceptance tests: make better use of machine tags

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(-)
Signature · 1 line
2.21.0