Skip to content

qemu-iotests: quality of life improvements

Paolo Bonzini qemu-devel 4 versions – Applied

Status from this message: Thanks, applied to my block branch:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 1 replyApplied
  2. v35 patches 8 repliesSuperseded
  3. v25 patches 13 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches14 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5qemu-iotests: do not buffer the test outputtests/qemu-iotests/240.out tests/qemu-iotests/245.out tests/qemu-iotests/295.out +2 more+56 -440 replies
2/5qemu-iotests: allow passing unittest.main arguments to the test scriptstests/qemu-iotests/iotests.py+9 -50 replies
3/5qemu-iotests: move command line and environment handling from TestRunner to TestEnvtests/qemu-iotests/testenv.py tests/qemu-iotests/testrunner.py+17 -140 replies
4/5qemu-iotests: let "check" spawn an arbitrary test commandtests/qemu-iotests/check tests/qemu-iotests/testenv.py tests/qemu-iotests/testrunner.py+20 -30 replies
5/5qemu-iotests: fix case of SOCK_DIR already in the environmenttests/qemu-iotests/testenv.py+1 -10 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchVladimir Sementsov-OgievskiyEmanuele Giuseppe Esposito
1/5R-b T-b
2/5R-b T-b
3/5R-b T-b
4/5R-b T-b
5/5R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] qemu-iotests: quality of life improvements

This series adds a few usability improvements to qemu-iotests, mostly for Python unittest-based tests. In particular:

- the output of the unittest framework is not buffered, which makes it easier to follow the "-d" output of the tests

- arguments can be passed to Python unittests scripts, for example to run only a subset of the test cases (patches 1-2)

- it is possible to do "./check -- ../../../tests/qemu-iotests/055 args..." and specify arbitrary arguments to be passed to a single test script. This is especially useful together with the previous feature and eases the debugging of Python tests.

Paolo

v3->v4: output of Python tests regenerated when needed

Paolo Bonzini (5):
qemu-iotests: do not buffer the test output
qemu-iotests: allow passing unittest.main arguments to the test
scripts
qemu-iotests: move command line and environment handling from
TestRunner to TestEnv
qemu-iotests: let "check" spawn an arbitrary test command
qemu-iotests: fix case of SOCK_DIR already in the environment

 tests/qemu-iotests/240.out       |  8 ++--
 tests/qemu-iotests/245.out       |  8 ++--
 tests/qemu-iotests/295.out       |  6 +--
 tests/qemu-iotests/296.out       |  8 ++--
 tests/qemu-iotests/check         | 19 +++++++-
 tests/qemu-iotests/iotests.py    | 80 +++++++++++++++++++-------------
 tests/qemu-iotests/testenv.py    | 22 +++++++--
 tests/qemu-iotests/testrunner.py | 15 +-----
 8 files changed, 101 insertions(+), 65 deletions(-)
Signature · 1 line
2.31.1