]> git.proxmox.com Git - mirror_qemu.git/commit
tests/tcg: Factor out gdbstub test functions
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 29 Jan 2024 09:32:15 +0000 (10:32 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 29 Jan 2024 10:48:49 +0000 (20:48 +1000)
commit4d48c1bc079147a02ec1a3df9a41497c515d2e61
tree6ec9659fd3c5df462a61e5a644d9081e85f0dee7
parent87ab270429618c13a6bf6dfc90d5edf6a3fa99b9
tests/tcg: Factor out gdbstub test functions

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 <iii@linux.ibm.com>
Message-Id: <20240129093410.3151-3-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
13 files changed:
tests/guest-debug/run-test.py
tests/guest-debug/test_gdbstub.py [new file with mode: 0644]
tests/tcg/aarch64/gdbstub/test-sve-ioctl.py
tests/tcg/aarch64/gdbstub/test-sve.py
tests/tcg/multiarch/gdbstub/interrupt.py
tests/tcg/multiarch/gdbstub/memory.py
tests/tcg/multiarch/gdbstub/registers.py
tests/tcg/multiarch/gdbstub/sha1.py
tests/tcg/multiarch/gdbstub/test-proc-mappings.py
tests/tcg/multiarch/gdbstub/test-qxfer-auxv-read.py
tests/tcg/multiarch/gdbstub/test-thread-breakpoint.py
tests/tcg/s390x/gdbstub/test-signals-s390x.py
tests/tcg/s390x/gdbstub/test-svc.py