Skip to content

Convert the MIPS replay tests to the functional framework

Thomas Huth qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 4 repliesIn review
  2. v15 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Put the tests in new files
- Rename the environment variable for enabling slow tests

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tests/functional: Add a decorator for skipping long running testsdocs/devel/testing/functional.rst tests/functional/qemu_test/__init__.py tests/functional/qemu_test/decorators.py +3 more+31 -131 reply
2/5tests/functional: Add the ReplayKernelBase classMAINTAINERS tests/functional/replay_kernel.py+85 -00 replies
3/5tests/functional/test_mipsel_malta: Convert the mipsel replay teststests/avocado/replay_kernel.py tests/functional/meson.build tests/functional/test_mipsel_replay.py+56 -541 reply
4/5tests/functional/test_mips64el_malta: Convert the mips64el replay teststests/avocado/replay_kernel.py tests/functional/meson.build tests/functional/test_mips64el_replay.py+61 -571 reply
5/5tests/functional/test_mips_malta: Convert the mips big endian replay teststests/avocado/replay_kernel.py tests/functional/meson.build tests/functional/test_mips_replay.py+56 -541 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchDaniel P. Berrangé
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/5] Convert the MIPS replay tests to the functional framework

tests/avocado/replay_kernel.py is a rather big file with a lot of Avocado-based tests in it. But in the long run, we rather want to get away from Avocado, so we eventually have to convert these tests to the functional framework. For this, we have to separate the tests by target architecture, since the functional framework cannot detect this on the fly like Avocado (which e.g. looks at the tag annotations in the comments). Let's start the convertion by handling the MIPS-related tests first (the other replay_kernel tests will follow later).

v2:
- Put the tests in new files
- Rename the environment variable for enabling slow tests

Thomas Huth (5):
tests/functional: Add a decorator for skipping long running tests tests/functional: Add the ReplayKernelBase class tests/functional/test_mipsel_malta: Convert the mipsel replay tests tests/functional/test_mips64el_malta: Convert the mips64el replay
tests
tests/functional/test_mips_malta: Convert the mips big endian replay
tests

 MAINTAINERS                                   |   1 +
 docs/devel/testing/functional.rst             |   8 +
 tests/avocado/replay_kernel.py                | 165 ------------------
 tests/functional/meson.build                  |   4 +
 tests/functional/qemu_test/__init__.py        |   2 +-
 tests/functional/qemu_test/decorators.py      |  14 ++
 tests/functional/replay_kernel.py             |  84 +++++++++
 .../functional/test_aarch64_sbsaref_alpine.py |   5 +-
 .../test_aarch64_sbsaref_freebsd.py           |   9 +-
 tests/functional/test_arm_quanta_gsj.py       |   6 +-
 tests/functional/test_mips64el_replay.py      |  60 +++++++
 tests/functional/test_mips_replay.py          |  55 ++++++
 tests/functional/test_mipsel_replay.py        |  54 ++++++
 13 files changed, 289 insertions(+), 178 deletions(-)
 create mode 100644 tests/functional/replay_kernel.py
 create mode 100755 tests/functional/test_mips64el_replay.py
 create mode 100755 tests/functional/test_mips_replay.py
 create mode 100644 tests/functional/test_mipsel_replay.py
Signature · 1 line
2.48.1