]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
meson.build: fix summary display of test compilers
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 27 May 2022 15:35:34 +0000 (16:35 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 1 Jun 2022 12:08:09 +0000 (13:08 +0100)
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 <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220527153603.887929-5-alex.bennee@linaro.org>

meson.build

index bf318d9cbb407a4f2f1831a55393bf5a8ec5296c..bc6234c85e2fda308c29cfec6d4b6c0c8fc5f738 100644 (file)
@@ -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