Kernel KVM virtualization development
 help / color / mirror / Atom feed
* [PATCH kvm-unit-tests 0/6] Test runner TLC
@ 2026-11-26 10:29 Paolo Bonzini
  2026-11-26 10:29 ` [PATCH kvm-unit-tests 1/6] arm: remove usage of the errata mechanism Paolo Bonzini
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Paolo Bonzini @ 2026-11-26 10:29 UTC (permalink / raw)
  To: kvm; +Cc: thuth, andrew.jones

Some cleanups of the test runner, dropping some fat and preparing
for future reorganization of its functionality.  In particular I
would like to introduce a better waiver mechanism that does not
require changes to the tests.

Patches 1-2 remove the errata mechanism, as it has seen little use
and kernel version checks *in the test* are not a good way to decide
whether a test result should be waived.  While the original purpose
was to block tests that are unsafe and could cause the host to hang,
unsafe tests arguably shouldn't exist at all...

Patches 3-5 cut some of the environment functionality, specifically
not passing anymore host information to the test as they were not
read by any test.

Patch 6 finally makes unittests.cfg parsable by standard .ini syntax
parsers, such as Python's configparser.

Paolo

Paolo Bonzini (6):
  arm: remove usage of the errata mechanism
  remove errata mechanism
  omit "#" from printed command line if INITRD is empty
  do not pass information about kernel, QEMU or target via environment
  drop --enable/--disable-default-environ
  switch unittests.cfg parsing to be ConfigParser-compatible

 README.md               |  44 +------
 arm/debug.c             |   1 -
 arm/gic.c               |  10 --
 arm/pmu.c               |   8 +-
 arm/psci.c              |   9 +-
 arm/timer.c             |   5 +-
 configure               |  26 ----
 errata.txt              |   9 --
 lib/errata.h            |  58 ---------
 run_tests.sh            |   4 +-
 s390x/unittests.cfg     | 257 ++++++++++++++++++++--------------------
 scripts/arch-run.bash   | 131 +-------------------
 scripts/common.bash     |  85 ++++++++-----
 scripts/mkstandalone.sh |  11 --
 14 files changed, 198 insertions(+), 460 deletions(-)
 delete mode 100644 errata.txt
 delete mode 100644 lib/errata.h

-- 
2.56.1


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

end of thread, other threads:[~2026-11-26 16:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 10:29 [PATCH kvm-unit-tests 0/6] Test runner TLC Paolo Bonzini
2026-11-26 10:29 ` [PATCH kvm-unit-tests 1/6] arm: remove usage of the errata mechanism Paolo Bonzini
2026-11-26 10:29 ` [PATCH kvm-unit-tests 2/6] remove " Paolo Bonzini
2026-11-26 10:29 ` [PATCH kvm-unit-tests 3/6] omit "#" from printed command line if INITRD is empty Paolo Bonzini
2026-11-26 10:30 ` [PATCH kvm-unit-tests 4/6] do not pass information about kernel, QEMU or target via environment Paolo Bonzini
2026-11-26 10:30 ` [PATCH kvm-unit-tests 5/6] drop --enable/--disable-default-environ Paolo Bonzini
2026-11-26 16:02   ` Andrew Jones
2026-11-26 10:30 ` [PATCH kvm-unit-tests 6/6] switch unittests.cfg parsing to be ConfigParser-compatible Paolo Bonzini
2026-11-26 16:03 ` [PATCH kvm-unit-tests 0/6] Test runner TLC Andrew Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox