All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Convert the MIPS replay tests to the functional framework
@ 2025-01-28 15:28 Thomas Huth
  2025-01-28 15:28 ` [PATCH v2 1/5] tests/functional: Add a decorator for skipping long running tests Thomas Huth
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Thomas Huth @ 2025-01-28 15:28 UTC (permalink / raw)
  To: Pavel Dovgalyuk, Paolo Bonzini, Jiaxun Yang, qemu-devel
  Cc: Philippe Mathieu-Daudé, Daniel P. Berrangé, Hao Wu,
	Tyrone Ting, Leif Lindholm, Radoslaw Biernacki, Peter Maydell

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-01-29 13:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-28 15:28 [PATCH v2 0/5] Convert the MIPS replay tests to the functional framework Thomas Huth
2025-01-28 15:28 ` [PATCH v2 1/5] tests/functional: Add a decorator for skipping long running tests Thomas Huth
2025-01-29 13:49   ` Daniel P. Berrangé
2025-01-28 15:28 ` [PATCH v2 2/5] tests/functional: Add the ReplayKernelBase class Thomas Huth
2025-01-28 15:28 ` [PATCH v2 3/5] tests/functional/test_mipsel_malta: Convert the mipsel replay tests Thomas Huth
2025-01-29 13:50   ` Daniel P. Berrangé
2025-01-28 15:28 ` [PATCH v2 4/5] tests/functional/test_mips64el_malta: Convert the mips64el " Thomas Huth
2025-01-29 13:51   ` Daniel P. Berrangé
2025-01-28 15:28 ` [PATCH v2 5/5] tests/functional/test_mips_malta: Convert the mips big endian " Thomas Huth
2025-01-29 13:51   ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.