]> git.feebdaed.xyz Git - 0xmirror/qemu.git/commit
tests/tcg: honour the available QEMU binaries when running check-tcg
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Dec 2025 19:48:54 +0000 (19:48 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 5 Dec 2025 15:25:51 +0000 (15:25 +0000)
commit7242e51517cbc2df9121d6674ea53d3aebac1d3e
tree198d9037562f836ba6d84952c5e983436d4f1a5e
parent7e71b8e7f2f658999fd6d0871cab3acad53150e7
tests/tcg: honour the available QEMU binaries when running check-tcg

Currently configure can identify all the targets that have
cross-compilers available from the supplied target-list. By default
this is the default_target_list which is all possible targets we can
build.

At the same time the target list passed to meson is filtered down
depending on various factors including not building 64 bit targets on
32 bit hosts. As a result make check-tcg will erroneously attempt to
run tests for which we haven't built a QEMU.

Solve this by filtering the final list of TCG_TEST_TARGETS based on
what actually was configured by meson. Rename the variable that
configure spits out to TCG_TESTS_WITH_COMPILERS for clarity and to
avoid larger churn in the Makefile.

Message-ID: <20251204194902.1340008-4-alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
configure
tests/Makefile.include