On 09.08.21 11:00, Emanuele Giuseppe Esposito wrote:
This series adds the option to attach gdbserver and valgrind
to the QEMU binary running in qemu_iotests.
It also allows to redirect QEMU binaries output of the python tests
to the stdout, instead of a log file.
Patches 1-9 introduce the -gdb option to both python and bash tests,
10-14 extend the already existing -valgrind flag to work also on
python tests, and patch 15-16 introduces -p to enable logging to stdout.
In particular, patches 1,6,8,11 focus on extending the QMP socket timers
when using gdb/valgrind, otherwise the python tests will fail due to
delays in the QMP responses.
Signed-off-by: Emanuele Giuseppe Esposito <eespo...@redhat.com>
---
v9:
* Replace `! -z` with `-n` in bash scripts (patch 8), and quote $GDB_OPTIONS in
the same if condition [Max]
* Add r-b from Max to all patches except 8, remove r-b from Vladimir on patch 8
Thanks! Applied to my block-next branch for 6.2:
https://github.com/XanClic/qemu/commits/block-next
(Usually, I’d take test patches to the block branch regardless of where
we are in the freeze, but with this quite long series I feel better
putting it into block-next.)
Hanna