[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH v4 12/15] tests/tcg: Do not build/run TCG tests if TCG is dis
From: |
Fabiano Rosas |
Subject: |
[RFC PATCH v4 12/15] tests/tcg: Do not build/run TCG tests if TCG is disabled |
Date: |
Thu, 19 Jan 2023 10:54:21 -0300 |
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>
---
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.35.3
- Re: [RFC PATCH v4 07/15] tests/qtest: Adjust qom-test to always set a -cpu option, (continued)
- [RFC PATCH v4 08/15] tests/qtest: Adjust test-hmp to always pass -cpu option, Fabiano Rosas, 2023/01/19
- [RFC PATCH v4 09/15] tests/qtest: Adjust device-introspect-test to always set a -cpu option, Fabiano Rosas, 2023/01/19
- [RFC PATCH v4 10/15] tests/qtest: aarch64: Set -cpu for numa-test, Fabiano Rosas, 2023/01/19
- [RFC PATCH v4 11/15] tests/qemu-iotests: Allow passing a -cpu option in the QEMU cmdline, Fabiano Rosas, 2023/01/19
- [RFC PATCH v4 12/15] tests/tcg: Do not build/run TCG tests if TCG is disabled,
Fabiano Rosas <=
- [RFC PATCH v4 13/15] target/avocado: Pass parameters to migration test on aarch64, Fabiano Rosas, 2023/01/19
- [RFC PATCH v4 15/15] arm/Kconfig: Do not build TCG-only boards on a KVM-only build, Fabiano Rosas, 2023/01/19
- [RFC PATCH v4 14/15] arm/Kconfig: Always select SEMIHOSTING when TCG is present, Fabiano Rosas, 2023/01/19