On Sun, Jan 28, 2024 at 02:41:54PM +1000, Richard Henderson wrote: > From: Ilya Leoshkevich <i...@linux.ibm.com> > > Both the report() function as well as the initial gdbstub test sequence > are copy-pasted into ~10 files with slight modifications. This > indicates that they are indeed generic, so factor them out. While > at it, add a few newlines to make the formatting closer to PEP-8. > > Signed-off-by: Ilya Leoshkevich <i...@linux.ibm.com> > Message-Id: <20240109230808.583012-3-...@linux.ibm.com> > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > tests/guest-debug/run-test.py | 7 ++- > tests/guest-debug/test_gdbstub.py | 56 +++++++++++++++++++ > tests/tcg/aarch64/gdbstub/test-sve-ioctl.py | 34 +---------- > tests/tcg/aarch64/gdbstub/test-sve.py | 33 +---------- > tests/tcg/multiarch/gdbstub/interrupt.py | 47 ++-------------- > tests/tcg/multiarch/gdbstub/memory.py | 39 +------------ > tests/tcg/multiarch/gdbstub/registers.py | 41 ++------------ > tests/tcg/multiarch/gdbstub/sha1.py | 38 ++----------- > .../multiarch/gdbstub/test-proc-mappings.py | 39 +------------ > .../multiarch/gdbstub/test-qxfer-auxv-read.py | 37 +----------- > .../gdbstub/test-thread-breakpoint.py | 37 +----------- > tests/tcg/s390x/gdbstub/test-signals-s390x.py | 42 +------------- > tests/tcg/s390x/gdbstub/test-svc.py | 39 +------------ > 13 files changed, 94 insertions(+), 395 deletions(-) > create mode 100644 tests/guest-debug/test_gdbstub.py
Alex had issues with this and the next patch, I posted an update that hopefully resolves them: https://lore.kernel.org/qemu-devel/20240129093410.3151-1-...@linux.ibm.com/