Skip to content

Test runner TLC

Paolo Bonzini kvm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6arm: remove usage of the errata mechanismarm/debug.c arm/gic.c arm/pmu.c +2 more+5 -280 replies
2/6remove errata mechanismREADME.md configure errata.txt +4 more+4 -1990 replies
3/6omit "#" from printed command line if INITRD is emptyscripts/arch-run.bash+1 -30 replies
4/6do not pass information about kernel, QEMU or target via environmentREADME.md scripts/arch-run.bash+2 -600 replies
5/6drop --enable/--disable-default-environconfigure scripts/arch-run.bash scripts/mkstandalone.sh+2 -120 replies
6/6switch unittests.cfg parsing to be ConfigParser-compatibles390x/unittests.cfg scripts/common.bash+184 -1580 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH kvm-unit-tests 0/6] Test runner TLC

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
Signature · 1 line
2.56.1