From: Alex Bennée Date: Fri, 27 May 2022 15:35:34 +0000 (+0100) Subject: meson.build: fix summary display of test compilers X-Git-Tag: qemu-xen-4.18.0-rc5~677^2~29 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=85b141ea6ae448b718d438d9cf0009d73116f8d1;p=qemu-xen.git meson.build: fix summary display of test compilers The recent refactoring of configure.sh dropped a number of variables we relied on for printing out information. Make it simpler. Fixes: eebf199c09 (tests/tcg: invoke Makefile.target directly from QEMU's makefile) Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Message-Id: <20220527153603.887929-5-alex.bennee@linaro.org> --- diff --git a/meson.build b/meson.build index bf318d9cbb..bc6234c85e 100644 --- a/meson.build +++ b/meson.build @@ -3735,12 +3735,8 @@ foreach target: target_dirs config_cross_tcg = keyval.load(tcg_mak) target = config_cross_tcg['TARGET_NAME'] compiler = '' - if 'DOCKER_CROSS_CC_GUEST' in config_cross_tcg - summary_info += {target + ' tests': config_cross_tcg['DOCKER_CROSS_CC_GUEST'] + - ' via ' + config_cross_tcg['DOCKER_IMAGE']} - elif 'CROSS_CC_GUEST' in config_cross_tcg - summary_info += {target + ' tests' - : config_cross_tcg['CROSS_CC_GUEST'] } + if 'CC' in config_cross_tcg + summary_info += {target + ' tests': config_cross_tcg['CC']} endif endif endforeach