[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 12/12] tests/qtest: bios-tables-test: Skip if missing configs
From: |
Fabiano Rosas |
Subject: |
[PATCH v3 12/12] tests/qtest: bios-tables-test: Skip if missing configs |
Date: |
Mon, 13 Feb 2023 18:07:38 -0300 |
If we build with --without-default-devices, CONFIG_HPET and
CONFIG_PARALLEL are set to N, which makes the respective devices go
missing from acpi tables.
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
---
tests/qtest/meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
index dbe3b1fcc9..222e1892fb 100644
--- a/tests/qtest/meson.build
+++ b/tests/qtest/meson.build
@@ -78,7 +78,9 @@ qtests_i386 = \
config_all_devices.has_key('CONFIG_Q35') and
\
config_all_devices.has_key('CONFIG_VIRTIO_PCI') and
\
slirp.found() ? ['virtio-net-failover'] : []) +
\
- (unpack_edk2_blobs ? ['bios-tables-test'] : []) +
\
+ (unpack_edk2_blobs and
\
+ config_all_devices.has_key('CONFIG_HPET') and
\
+ config_all_devices.has_key('CONFIG_PARALLEL') ? ['bios-tables-test'] : [])
+ \
qtests_pci +
\
qtests_cxl +
\
['fdc-test',
--
2.35.3
- [PATCH v3 03/12] tests/qtest: Add dependence on PCIE_PORT for virtio-net-failover.c, (continued)
- [PATCH v3 03/12] tests/qtest: Add dependence on PCIE_PORT for virtio-net-failover.c, Fabiano Rosas, 2023/02/13
- [PATCH v3 05/12] tests/qtest: hd-geo-test: Check for missing devices, Fabiano Rosas, 2023/02/13
- [PATCH v3 04/12] tests/qtest: Don't build virtio-serial-test.c if device not present, Fabiano Rosas, 2023/02/13
- [PATCH v3 06/12] tests/qtest: Fix coding style in device-plug-test.c, Fabiano Rosas, 2023/02/13
- [PATCH v3 07/12] tests/qtest: Skip unplug tests that use missing devices, Fabiano Rosas, 2023/02/13
- [PATCH v3 08/12] tests/qtest: drive_del-test: Skip tests that require missing devices, Fabiano Rosas, 2023/02/13
- [PATCH v3 09/12] tests/qtest: Check for devices in bios-tables-test, Fabiano Rosas, 2023/02/13
- [PATCH v3 10/12] tests/qtest: Do not include hexloader-test if loader device is not present, Fabiano Rosas, 2023/02/13
- [PATCH v3 11/12] tests/qemu-iotests: Require virtio-scsi-pci, Fabiano Rosas, 2023/02/13
- [PATCH v3 12/12] tests/qtest: bios-tables-test: Skip if missing configs,
Fabiano Rosas <=