Skip to content

tests/functional: add more CLI args

Manos Pitsidianakis qemu-devel 2 versions In review

Get series with b4
b4 am [email protected] change-id 20250718-functional_tests_args-12cdb5e56d84

Versions newest first

  1. v2 Latest3 patches 5 repliesIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Fixed invalid -k value passing when -k was specified more than once
(thanks Paolo)
- Link to v1: https://lore.kernel.org/qemu-devel/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tests/functional: add --keep-scratch CLI argtests/functional/qemu_test/testcase.py+13 -11 reply
2/3tests/functional: add --list-tests CLI argtests/functional/qemu_test/testcase.py+12 -42 replies
3/3tests/functional: add -k TEST_NAME_PATTERN CLI argtests/functional/qemu_test/testcase.py+19 -21 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchThomas Huth
1/3A-b
2/3
3/3A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] tests/functional: add more CLI args

This series adds extra CLI args for functional tests, useful for developers that run test files directly.

It depends on a previous patch that adds a --debug CLI arg, and is encoded as a b4 change-id dependency, so it should be fetched and applied automatically when using b4.

---
Changes in v2:
- Fixed invalid -k value passing when -k was specified more than once
(thanks Paolo)
- Link to v1: https://lore.kernel.org/qemu-devel/[email protected]

---
Manos Pitsidianakis (3):

      tests/functional: add --keep-scratch CLI arg
      tests/functional: add --list-tests CLI arg
      tests/functional: add -k TEST_NAME_PATTERN CLI arg
 tests/functional/qemu_test/testcase.py | 51 +++++++++++++++++++++++++++++-----
 1 file changed, 44 insertions(+), 7 deletions(-)

---
base-commit: 3656e761bcdd207b7759cdcd608212d2a6f9c12d
change-id: 20250718-functional_tests_args-12cdb5e56d84
prerequisite-change-id: 20250716-functional_tests_debug_arg-aa0a5f6b9375:v2
prerequisite-patch-id: 4ccc8f39ffb382d31c8e6450c43a5f8d177af044

--
γαῖα πυρί μιχθήτω