qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PULL 19/22] tests/qtest: bios-tables-test: Skip if missing configs


From: Thomas Huth
Subject: [PULL 19/22] tests/qtest: bios-tables-test: Skip if missing configs
Date: Tue, 14 Feb 2023 12:21:45 +0100

From: Fabiano Rosas <farosas@suse.de>

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>
Message-Id: <20230208194700.11035-13-farosas@suse.de>
Signed-off-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 e87cb18d8e..4110f8afc2 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.31.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]