[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 23/29] tests/qtest: Restrict tpm-tis-devices-{swtpm}-test to C
From: |
Fabiano Rosas |
Subject: |
[PATCH v6 23/29] tests/qtest: Restrict tpm-tis-devices-{swtpm}-test to CONFIG_TCG |
Date: |
Fri, 17 Feb 2023 17:11:44 -0300 |
These tests set -accel tcg, so restrict them to when TCG is present.
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
---
Removed unneeded hunk restricting dependencies
Use config_all instead of config_devices_all to check for TCG
---
tests/qtest/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
index 222e1892fb..29a4efb4c2 100644
--- a/tests/qtest/meson.build
+++ b/tests/qtest/meson.build
@@ -208,8 +208,8 @@ qtests_arm = \
# TODO: once aarch64 TCG is fixed on ARM 32 bit host, make bios-tables-test
unconditional
qtests_aarch64 = \
(cpu != 'arm' and unpack_edk2_blobs ? ['bios-tables-test'] : []) +
\
- (config_all_devices.has_key('CONFIG_TPM_TIS_SYSBUS') ?
['tpm-tis-device-test'] : []) + \
- (config_all_devices.has_key('CONFIG_TPM_TIS_SYSBUS') ?
['tpm-tis-device-swtpm-test'] : []) + \
+ (config_all.has_key('CONFIG_TCG') and
config_all_devices.has_key('CONFIG_TPM_TIS_SYSBUS') ? \
+ ['tpm-tis-device-test', 'tpm-tis-device-swtpm-test'] : []) +
\
(config_all_devices.has_key('CONFIG_XLNX_ZYNQMP_ARM') ? ['xlnx-can-test',
'fuzz-xlnx-dp-test'] : []) + \
(config_all_devices.has_key('CONFIG_RASPI') ? ['bcm2835-dma-test'] : []) + \
['arm-cpu-features',
--
2.35.3
- [PATCH v6 18/29] tests/avocado: Tag TCG tests with accel:tcg, (continued)
- [PATCH v6 18/29] tests/avocado: Tag TCG tests with accel:tcg, Fabiano Rosas, 2023/02/17
- [PATCH v6 19/29] target/arm: Move 64-bit TCG CPUs into tcg/, Fabiano Rosas, 2023/02/17
- [PATCH v6 21/29] target/arm: Use "max" as default cpu for the virt machine with KVM, Fabiano Rosas, 2023/02/17
- [PATCH v6 25/29] tests/avocado: add machine:none tag to version.py, Fabiano Rosas, 2023/02/17
- [PATCH v6 27/29] arm/Kconfig: Do not build TCG-only boards on a KVM-only build, Fabiano Rosas, 2023/02/17
- [PATCH v6 22/29] tests/qtest: arm-cpu-features: Match tests to required accelerators, Fabiano Rosas, 2023/02/17
- [PATCH v6 26/29] arm/Kconfig: Always select SEMIHOSTING when TCG is present, Fabiano Rosas, 2023/02/17
- [PATCH v6 20/29] target/arm: move cpu_tcg to tcg/cpu32.c, Fabiano Rosas, 2023/02/17
- [PATCH v6 23/29] tests/qtest: Restrict tpm-tis-devices-{swtpm}-test to CONFIG_TCG,
Fabiano Rosas <=
- [PATCH v6 24/29] target/avocado: Pass parameters to migration test, Fabiano Rosas, 2023/02/17
- [PATCH v6 28/29] gitlab-ci: Check building KVM-only aarch64 target, Fabiano Rosas, 2023/02/17
- [PATCH v6 29/29] tests/qtest: Fix tests when no KVM or TCG are present, Fabiano Rosas, 2023/02/17
- Re: [PATCH v6 00/29] target/arm: Allow CONFIG_TCG=n builds, Peter Maydell, 2023/02/21