[PATCH v16 97/99] tests/qtest: make xlnx-can-test conditional on being configured

Alex Bennée posted 99 patches 4 years, 8 months ago
[PATCH v16 97/99] tests/qtest: make xlnx-can-test conditional on being configured
Posted by Alex Bennée 4 years, 8 months ago
It will soon be possible to build an qemu-system-aarch64 system that
doesn't have this.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 tests/qtest/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
index 2c7415d616..772e62920c 100644
--- a/tests/qtest/meson.build
+++ b/tests/qtest/meson.build
@@ -179,11 +179,11 @@ qtests_arm = \
 qtests_aarch64 = \
   (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_devices.has_key('CONFIG_XLNX_ZYNQMP_ARM') ? ['xlnx-can-test'] : []) +  \
   ['arm-cpu-features',
    'numa-test',
    'boot-serial-test',
    'bios-tables-test',
-   'xlnx-can-test',
    'migration-test']
 
 qtests_s390x = \
-- 
2.20.1


Re: [PATCH v16 97/99] tests/qtest: make xlnx-can-test conditional on being configured
Posted by Richard Henderson 4 years, 8 months ago
On 6/4/21 8:53 AM, Alex Bennée wrote:
> It will soon be possible to build an qemu-system-aarch64 system that
> doesn't have this.
> 
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> ---
>   tests/qtest/meson.build | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~