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 <faro...@suse.de>
Reviewed-by: Thomas Huth <th...@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 c6dba4f87e..8446be87a8 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


Reply via email to