All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] testing: some minor QoL changes for functional tests
@ 2026-06-14 10:08 Alex Bennée
  2026-06-14 10:08 ` [PATCH 1/4] python/qemu: split arg between base and harness lists Alex Bennée
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Alex Bennée @ 2026-06-14 10:08 UTC (permalink / raw)
  To: qemu-devel
  Cc: Cleber Rosa, Philippe Mathieu-Daudé, Daniel P. Berrangé,
	John Snow, Thomas Huth, Alex Bennée

I spend a lot of time trying to recreate functional test failures on
the command line where I can add gdbstub or run under rr. Invariably
this involves running the test with "env QEMU_TEST_KEEP_SCRATCH=1" and
then extracting the command line and tweaking it.

I finally got annoyed enough to look at the command line code and see
if I could do this a better way. Ideally I could just do something
like:

  ./pyvenv/bin/meson test --suite thorough func-arm-aspeed_anacapa --cmdline

but for now I'll stick with copy and pasting a line from the logs and
saving a few seconds removing all the QMP and console sockets.

I've also included the pylint change which is now reviewed and can be
picked up. If not I'll grab it next time I do a testing/next sweep.

Alex.

Alex Bennée (4):
  python/qemu: split arg between base and harness lists
  python/qemu: split console from harness args
  python/qemu: dump a developer friendly version of cmdline to logs
  tests/functional: tell pylint not to check c-modules

 python/qemu/machine/machine.py | 29 ++++++++++++++++++++++++-----
 tests/functional/pylintrc      |  1 +
 2 files changed, 25 insertions(+), 5 deletions(-)

-- 
2.47.3



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

end of thread, other threads:[~2026-06-19 13:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-14 10:08 [PATCH 0/4] testing: some minor QoL changes for functional tests Alex Bennée
2026-06-14 10:08 ` [PATCH 1/4] python/qemu: split arg between base and harness lists Alex Bennée
2026-06-15 10:36   ` Philippe Mathieu-Daudé
2026-06-14 10:09 ` [PATCH 2/4] python/qemu: split console from harness args Alex Bennée
2026-06-15 10:37   ` Philippe Mathieu-Daudé
2026-06-14 10:09 ` [PATCH 3/4] python/qemu: dump a developer friendly version of cmdline to logs Alex Bennée
2026-06-15 10:37   ` Philippe Mathieu-Daudé
2026-06-14 10:09 ` [PATCH 4/4] tests/functional: tell pylint not to check c-modules Alex Bennée
2026-06-16 11:09 ` [PATCH 0/4] testing: some minor QoL changes for functional tests Thomas Huth
2026-06-19 13:35 ` Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.