mbox series

[0/5] Convert the MIPS replay tests to the functional framework

Message ID 20250124141529.1626877-1-thuth@redhat.com (mailing list archive)
Headers show
Series Convert the MIPS replay tests to the functional framework | expand

Message

Thomas Huth Jan. 24, 2025, 2:15 p.m. UTC
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).

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

 docs/devel/testing/functional.rst        |   8 ++
 tests/avocado/replay_kernel.py           | 165 -----------------------
 tests/functional/meson.build             |   1 +
 tests/functional/qemu_test/__init__.py   |   2 +-
 tests/functional/qemu_test/decorators.py |  14 ++
 tests/functional/replay_kernel.py        |  84 ++++++++++++
 tests/functional/test_arm_quanta_gsj.py  |   5 +-
 tests/functional/test_mips64el_malta.py  |  26 +++-
 tests/functional/test_mips_malta.py      |  29 +++-
 tests/functional/test_mipsel_malta.py    |  30 ++++-
 10 files changed, 189 insertions(+), 175 deletions(-)
 create mode 100644 tests/functional/replay_kernel.py