tests/functional: add CLI args
Get series with b4
b4 am [email protected] change-id 20250716-functional_tests_debug_arg-aa0a5f6b9375Versions newest first
- v3 Latest4 patches 6 repliesIn review
- v21 patch 4 repliesSuperseded
- v11 patch 18 repliesSuperseded
Changes in v3 from the cover letter
- Merged with other patch series
- Made argument values into class attributes, and parse_args into a
class method (staticmethod) (suggested by Thomas)
- Link to v2: https://lore.kernel.org/qemu-devel/[email protected]
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tests/functional: add --debug CLI argdocs/ tests/ | +52 | 1 reply | |
| 2/4 | tests/functional: add --keep-scratch CLI argtests/ | +12 | 0 replies | |
| 3/4 | tests/functional: add --list-tests CLI argtests/ | +14 | 0 replies | |
| 4/4 | tests/functional: add -k TEST_NAME_PATTERN CLI argtests/ | +21 | 5 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Huth | Alex Bennée |
|---|---|---|
| 1/4 | T-b | |
| 2/4 | A-b | |
| 3/4 | ||
| 4/4 | A-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] tests/functional: add CLI args
This series adds extra CLI args for functional tests, useful for developers that run test files directly.
---
Changes in v3:
- Merged with other patch series
- Made argument values into class attributes, and parse_args into a
class method (staticmethod) (suggested by Thomas)
- Link to v2: https://lore.kernel.org/qemu-devel/[email protected]
Changes in v2:
- Store stdout handler in self object (thanks Daniel)
- Deduplicate handler removal code (Daniel)
- Amend commit description to mention PYTHONPATH (thanks Alex)
- Link to v1: https://lore.kernel.org/qemu-devel/[email protected]
---
Manos Pitsidianakis (4):
tests/functional: add --debug CLI arg
tests/functional: add --keep-scratch CLI arg
tests/functional: add --list-tests CLI arg
tests/functional: add -k TEST_NAME_PATTERN CLI argdocs/devel/testing/functional.rst | 2 + tests/functional/qemu_test/testcase.py | 104 ++++++++++++++++++++++++++++++--- 2 files changed, 99 insertions(+), 7 deletions(-)
---
base-commit: 4bc8fb0135ac48cd1c8f0698976b7d73c60b7caa
change-id: 20250716-functional_tests_debug_arg-aa0a5f6b9375
--
γαῖα πυρί μιχθήτω