qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Thomas Huth
Subject: [PATCH v2 0/5] Convert the MIPS replay tests to the functional framework
Date: Tue, 28 Jan 2025 16:28:34 +0100

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

-- 
2.48.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]