This series address an issue reported by Peter:
https://lore.kernel.org/qemu-devel/cafeaca846o2jbpdvy+zunxrpfxklqpjhhq14zbogqmc6cax...@mail.gmail.com/

This series introduces a minimal gdb version requirement for loongarch64 gdb
tests, due to a mismatch between target definition for our gdbstub and gdb.

This issue was already exposed, but I wrongly assumed it was related to host
(aarch64 vs x64), instead of gdb version. After reproducing on a x64 host with
an older gdb, the same problem was found.

Also, I added a cleanup on top that was on my mind for some time.

Tested on x64 and aarch64 hosts, with debian stable and ubuntu 24.04.

Pierrick Bouvier (3):
  tests/tcg/loongarch64: restrict gdb tests to gdb >= 16.1
  tests/tcg/loongarch64/system: reenable gdb-memory test on aarch64
    hosts
  tests/tcg: remove global meson variables

 tests/tcg/aarch64/meson.build            | 46 ++++++++++--------------
 tests/tcg/aarch64/system/meson.build     | 16 ++++++---
 tests/tcg/aarch64_be/meson.build         |  1 -
 tests/tcg/alpha/meson.build              |  7 ++--
 tests/tcg/alpha/system/meson.build       |  4 +--
 tests/tcg/arm/meson.build                |  7 ++--
 tests/tcg/arm/system/meson.build         |  4 +--
 tests/tcg/hppa/meson.build               |  1 -
 tests/tcg/i386/meson.build               |  7 ++--
 tests/tcg/i386/system/meson.build        |  4 +--
 tests/tcg/loongarch64/meson.build        | 21 +++++++----
 tests/tcg/loongarch64/system/meson.build | 17 +++++----
 tests/tcg/m68k/meson.build               |  1 -
 tests/tcg/mips/meson.build               |  1 -
 tests/tcg/mipsel/meson.build             |  2 --
 tests/tcg/or1k/meson.build               |  1 -
 tests/tcg/ppc64/meson.build              | 11 +++---
 tests/tcg/ppc64le/meson.build            |  5 ++-
 tests/tcg/riscv32/meson.build            |  3 --
 tests/tcg/riscv32/system/meson.build     |  4 +--
 tests/tcg/riscv64/meson.build            | 10 ++----
 tests/tcg/riscv64/system/meson.build     |  6 ++--
 tests/tcg/s390x/meson.build              | 21 ++++-------
 tests/tcg/s390x/system/meson.build       |  7 ++--
 tests/tcg/sh4/meson.build                |  1 -
 tests/tcg/x86_64/meson.build             | 10 ++----
 tests/tcg/x86_64/system/meson.build      |  6 ++--
 tests/tcg/xtensa/meson.build             |  6 ++--
 28 files changed, 100 insertions(+), 130 deletions(-)

-- 
2.47.3


Reply via email to