Commit 8c96d5d62d for qemu.org
commit 8c96d5d62d42ff1bc4c829b336d8c94172403562
Author: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Date: Thu Sep 24 21:39:39 2026 +0000
tests/tcg/meson.build: report correct cc in summary
Summary didn't consider that cc could have been set using --cross-cc*
options, and was wrongly reporting default cc declared in test suite.
Fix that by reporting path of compiler found.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20260924213942.26491-2-pierrick.bouvier@oss.qualcomm.com
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
diff --git a/tests/tcg/meson.build b/tests/tcg/meson.build
index 52d073a0bf..24600d087a 100644
--- a/tests/tcg/meson.build
+++ b/tests/tcg/meson.build
@@ -290,9 +290,10 @@ foreach target, plan: tcg_tests
summary_cc = false
if has_cc
- summary_cc = plan['cc']
- if not cc_from_system
- summary_cc += ' (from \'qemu/' + plan['cc_dockerfile'] + '\' container)'
+ if cc_from_system
+ summary_cc = cc.full_path()
+ else
+ summary_cc = plan['cc'] + ' (from \'qemu/' + plan['cc_dockerfile'] + '\' container)'
endif
endif
tcg_tests_summary += {'cc for ' + target: summary_cc}