[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 17/27] tests/tcg: Do not build/run TCG tests if TCG is disabled
From: |
Thomas Huth |
Subject: |
[PULL 17/27] tests/tcg: Do not build/run TCG tests if TCG is disabled |
Date: |
Tue, 31 Jan 2023 11:11:55 +0100 |
From: Fabiano Rosas <farosas@suse.de>
The tests under tests/tcg depend on the TCG accelerator. Do not build
them if --disable-tcg was given in the configure line.
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230120184825.31626-7-farosas@suse.de>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
configure | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 9e407ce2e3..64960c6000 100755
--- a/configure
+++ b/configure
@@ -2483,7 +2483,11 @@ for target in $target_list; do
tcg_tests_targets="$tcg_tests_targets $target"
fi
done
-echo "TCG_TESTS_TARGETS=$tcg_tests_targets" >> config-host.mak)
+
+if test "$tcg" = "enabled"; then
+ echo "TCG_TESTS_TARGETS=$tcg_tests_targets" >> config-host.mak
+fi
+)
if test "$skip_meson" = no; then
cross="config-meson.cross.new"
--
2.31.1
- [PULL 00/27] qtest and misc patches, Thomas Huth, 2023/01/31
- [PULL 01/27] tests/qtest: netdev: test stream and dgram backends, Thomas Huth, 2023/01/31
- [PULL 06/27] travis.yml: Use the libfdt from the distro instead of the submodule, Thomas Huth, 2023/01/31
- [PULL 09/27] qemu/bswap: Replace bswapXX() by compiler __builtin_bswap(), Thomas Huth, 2023/01/31
- [PULL 02/27] tests/qtest/qom-test: Stop spamming the test log, Thomas Huth, 2023/01/31
- [PULL 03/27] tests/qtest/bios-tables-test: Make the test less verbose by default, Thomas Huth, 2023/01/31
- [PULL 05/27] configs/targets/nios2-softmmu: Add TARGET_NEED_FDT=y to the nios2 config, Thomas Huth, 2023/01/31
- [PULL 15/27] MAINTAINERS: Abort HAXM maintenance, Thomas Huth, 2023/01/31
- [PULL 13/27] qemu/bswap: Use compiler __builtin_bswap() on FreeBSD, Thomas Huth, 2023/01/31
- [PULL 17/27] tests/tcg: Do not build/run TCG tests if TCG is disabled,
Thomas Huth <=
- [PULL 08/27] tests/docker/dockerfiles: Add libfdt to the i386 and to the riscv64 container, Thomas Huth, 2023/01/31
- [PULL 20/27] tests/qtest/vnc-display-test: Disable on Darwin, Thomas Huth, 2023/01/31
- [PULL 11/27] qemu/bswap: Remove <byteswap.h> dependency, Thomas Huth, 2023/01/31
- [PULL 14/27] qemu/bswap: Use compiler __builtin_bswap() on NetBSD, Thomas Huth, 2023/01/31
- [PULL 10/27] qemu/bswap: Replace bswapXXs() by compiler __builtin_bswap(), Thomas Huth, 2023/01/31
- [PULL 16/27] docs/about/deprecated: Mark HAXM in QEMU as deprecated, Thomas Huth, 2023/01/31
- [PULL 19/27] tests/qtest/vnc-display-test: Use the 'none' machine, Thomas Huth, 2023/01/31
- [PULL 21/27] tests/qtest/boot-serial-test: Constify tests[] array, Thomas Huth, 2023/01/31
- [PULL 12/27] qemu/bswap: Use compiler __builtin_bswap() on Haiku, Thomas Huth, 2023/01/31
- [PULL 07/27] travis.yml: Remove the generic addons section, Thomas Huth, 2023/01/31