[PULL 00/19] testing updates (tcg, gdbstub)

Alex Bennée posted 19 patches 1 month ago
Failed in applying to current master (apply log)
meson.build                                     |  15 +--
tests/tcg/multiarch/linux/linux-sigrtminmax.c   |   2 +-
.dir-locals.el                                  |   8 +-
tests/functional/aarch64/test_tuxrun.py         |  35 ++++-
tests/functional/gdb-scripts/kernel_gdb_test.py | 164 ++++++++++++++++++++++++
tests/functional/meson.build                    |   5 +-
tests/functional/qemu_test/tuxruntest.py        | 108 ++++++++++++++--
tests/functional/s390x/test_tuxrun.py           |  37 +++++-
tests/functional/sh4/test_tuxrun.py             |   6 +-
tests/functional/x86_64/test_acpi_bits.py       |   3 +
tests/functional/x86_64/test_tuxrun.py          |  45 ++++++-
tests/guest-debug/run-test.py                   |  83 ++++++++----
tests/tcg/meson.build                           |   5 -
13 files changed, 443 insertions(+), 73 deletions(-)
create mode 100644 tests/functional/gdb-scripts/kernel_gdb_test.py
[PULL 00/19] testing updates (tcg, gdbstub)
Posted by Alex Bennée 1 month ago
The following changes since commit b6c4b7e86dec12d07f5cac65265b986d38ee9002:

  Merge tag 'pbouvier/pr/tcg_tests-20261022' of https://gitlab.com/p-b-o/qemu into staging (2026-10-23 09:09:11 +0200)

are available in the Git repository at:

  https://gitlab.com/stsquad/qemu.git tags/pull-11.2-gdbstub-kvm-231026-1

for you to fetch changes up to e0a7139b213487a59023d88e7d56b7e95d90d553:

  tests/functional: add tuxrun kvm gdb test for s390x (2026-10-23 17:32:05 +0100)

----------------------------------------------------------------
testing updates (tcg, gdbstub):

  - make sure we have TCG to run test_acpi_bits
  - fix overflow in linux-sigrtminmax
  - make .dir-locals aware of PYTHONPATH
  - detect gdb in top-level meson
  - fetch kernel assets with symbols for x86, aarch64 and s390 tuxruns
  - use arrays in gdb run-test to make quoting less messy
  - add support for --symbols and --kargs to gdbstub run-test.py
  - restore old kvm gdb test script with a few fixes
  - add tuxrun_kvm_gdb tests for x86,aarch64 and s390

----------------------------------------------------------------
Alex Bennée (18):
      tests/functional: test_acpi_bits requires TCG
      .dir-locals: include QEMU code in PYTHONPATH
      meson: move gdb detection into the top level build file
      tests/functional: allow tuxrun tests to be passed "accel"
      tests/functional: split x86_64 tuxrun into tcg and kvm run
      tests/functional: update x86_64 tuxrun images
      tests/guest-debug: convert gdb_cmd to an array
      tests/guest-debug: convert cmd to an qemu_cmd array
      tests/guest-debug: add --kargs option to run-test
      tests/guest-debug: add --symbols option to run-test
      tests/functional: teach tuxrun about launching gdb tests
      tests/functional: add tuxrun kvm gdb test for x86_64
      tests/functional: split aarch64 tuxrun into tcg and kvm run
      tests/functional: update arm64 tuxrun images
      tests/functional: add tuxrun kvm gdb test for arm64
      tests/functional: split s390x tuxrun into tcg and kvm run
      tests/functional: update s390x tuxrun images
      tests/functional: add tuxrun kvm gdb test for s390x

Max Filippov (1):
      tests/tcg: fix buffer overflow in multiarch/linux/linux-sigrtminmax

 meson.build                                     |  15 +--
 tests/tcg/multiarch/linux/linux-sigrtminmax.c   |   2 +-
 .dir-locals.el                                  |   8 +-
 tests/functional/aarch64/test_tuxrun.py         |  35 ++++-
 tests/functional/gdb-scripts/kernel_gdb_test.py | 164 ++++++++++++++++++++++++
 tests/functional/meson.build                    |   5 +-
 tests/functional/qemu_test/tuxruntest.py        | 108 ++++++++++++++--
 tests/functional/s390x/test_tuxrun.py           |  37 +++++-
 tests/functional/sh4/test_tuxrun.py             |   6 +-
 tests/functional/x86_64/test_acpi_bits.py       |   3 +
 tests/functional/x86_64/test_tuxrun.py          |  45 ++++++-
 tests/guest-debug/run-test.py                   |  83 ++++++++----
 tests/tcg/meson.build                           |   5 -
 13 files changed, 443 insertions(+), 73 deletions(-)
 create mode 100644 tests/functional/gdb-scripts/kernel_gdb_test.py

-- 
2.47.3


Re: [PULL 00/19] testing updates (tcg, gdbstub)
Posted by Richard Henderson 4 weeks, 1 day ago
On 10/23/26 20:05, Alex Bennée wrote:
> The following changes since commit b6c4b7e86dec12d07f5cac65265b986d38ee9002:
> 
>    Merge tag 'pbouvier/pr/tcg_tests-20261022' ofhttps://gitlab.com/p-b-o/qemu into staging (2026-10-23 09:09:11 +0200)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/stsquad/qemu.git tags/pull-11.2-gdbstub-kvm-231026-1
> 
> for you to fetch changes up to e0a7139b213487a59023d88e7d56b7e95d90d553:
> 
>    tests/functional: add tuxrun kvm gdb test for s390x (2026-10-23 17:32:05 +0100)
> 
> ----------------------------------------------------------------
> testing updates (tcg, gdbstub):
> 
>    - make sure we have TCG to run test_acpi_bits
>    - fix overflow in linux-sigrtminmax
>    - make .dir-locals aware of PYTHONPATH
>    - detect gdb in top-level meson
>    - fetch kernel assets with symbols for x86, aarch64 and s390 tuxruns
>    - use arrays in gdb run-test to make quoting less messy
>    - add support for --symbols and --kargs to gdbstub run-test.py
>    - restore old kvm gdb test script with a few fixes
>    - add tuxrun_kvm_gdb tests for x86,aarch64 and s390

Applied, thanks.

r~