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.
Signed-off-by: Pierrick Bouvier <[email protected]> --- tests/tcg/meson.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/tcg/meson.build b/tests/tcg/meson.build index 474e4d8f6e3..0006d192cab 100644 --- a/tests/tcg/meson.build +++ b/tests/tcg/meson.build @@ -292,9 +292,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} -- 2.43.0
