QEMU TCG tests leave Makefiles behind for Meson
A 104-patch series folds guest instruction tests into the same build system as the rest of QEMU’s suite.
Pierrick Bouvier has posted the seventh revision of a large QEMU series that replaces the long-standing Makefile machinery for TCG tests with Meson, bringing those guest-code checks in line with how the rest of the project’s tests are defined and run.
TCG tests exercise QEMU’s Tiny Code Generator across user-mode and system emulation for every supported architecture. They had remained on a separate Makefile and configure path while other test suites moved to Meson, which made dependencies incomplete, hid declaration mistakes until run time, and left maintainers expanding strings instead of typed build objects. Bouvier’s work aims at readability and long-term maintenance, and at closing that gap.
The series introduces shared Meson support for the TCG test tree, then ports every existing architecture (user, system, and multiarch variants), and finally drops the old Makefiles and related configure probing. Cross-compiler, container, and gdb detection move into Meson options so bad compilers, flags, or target names fail at configure time and appear in the configuration summary. Familiar entry points such as make check-tcg remain; Ninja and meson test can also drive individual targets.
v7 was exercised on Linux and macOS hosts (x86-64 and AArch64). Reviewers and testers include Alex Bennée, Philippe Mathieu-Daudé, and Aniket Sahu. A few leftover MIPS user Makefiles stay only for tests that are not yet wired into the new runner. Documentation updates describe how to build and run the suite under the Meson-based flow.