[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 16/20] tests/qtest/meson.build: Run the net filter tests only with
|
From: |
Thomas Huth |
|
Subject: |
[PULL 16/20] tests/qtest/meson.build: Run the net filter tests only with default devices |
|
Date: |
Mon, 22 May 2023 13:50:10 +0200 |
These tests rely on a default NIC to be available. Skip them if we
used the "--without-default-devices" configure option.
Message-Id: <20230512124033.502654-17-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/qtest/meson.build | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
index ab422772d3..4c5585ac0f 100644
--- a/tests/qtest/meson.build
+++ b/tests/qtest/meson.build
@@ -34,10 +34,12 @@ qtests_pci = \
qtests_cxl = \
(config_all_devices.has_key('CONFIG_CXL') ? ['cxl-test'] : [])
+# FIXME: Get rid of get_option('default_devices') here and check
+# for the availability of the default NICs in the tests
qtests_filter = \
- (slirp.found() ? ['test-netfilter'] : []) + \
- (config_host.has_key('CONFIG_POSIX') ? ['test-filter-mirror'] : []) + \
- (config_host.has_key('CONFIG_POSIX') ? ['test-filter-redirector'] : [])
+ (get_option('default_devices') and slirp.found() ? ['test-netfilter'] : [])
+ \
+ (get_option('default_devices') and config_host.has_key('CONFIG_POSIX') ?
['test-filter-mirror'] : []) + \
+ (get_option('default_devices') and config_host.has_key('CONFIG_POSIX') ?
['test-filter-redirector'] : [])
qtests_i386 = \
(slirp.found() ? ['pxe-test'] : []) + \
@@ -221,9 +223,7 @@ qtests_aarch64 = \
'migration-test']
qtests_s390x = \
- (slirp.found() ? ['pxe-test', 'test-netfilter'] : []) + \
- (config_host.has_key('CONFIG_POSIX') ? ['test-filter-mirror'] : []) +
\
- (config_host.has_key('CONFIG_POSIX') ? ['test-filter-redirector'] : []) +
\
+ qtests_filter + \
['boot-serial-test',
'drive_del-test',
'device-plug-test',
--
2.31.1
- [PULL 04/20] softmmu/vl.c: Disable default NIC if it has not been compiled into the binary, (continued)
- [PULL 04/20] softmmu/vl.c: Disable default NIC if it has not been compiled into the binary, Thomas Huth, 2023/05/22
- [PULL 01/20] hw/i386/Kconfig: ISAPC works fine without VGA_ISA, Thomas Huth, 2023/05/22
- [PULL 03/20] hw: Move the default NIC machine class setting from the x86 to the generic one, Thomas Huth, 2023/05/22
- [PULL 07/20] hw/sh4: Use MachineClass->default_nic in the sh4 r2d machine, Thomas Huth, 2023/05/22
- [PULL 05/20] hw/ppc: Use MachineClass->default_nic in the ppc machines, Thomas Huth, 2023/05/22
- [PULL 11/20] tests/qtest/readconfig-test: Check for the availability of USB controllers, Thomas Huth, 2023/05/22
- [PULL 08/20] hw/char/parallel: Move TYPE_ISA_PARALLEL to the header file, Thomas Huth, 2023/05/22
- [PULL 09/20] hw/i386: Ignore the default parallel port if it has not been compiled into QEMU, Thomas Huth, 2023/05/22
- [PULL 06/20] hw/s390x: Use MachineClass->default_nic in the s390x machine, Thomas Huth, 2023/05/22
- [PULL 17/20] tests/qemu-iotests/172: Run QEMU with -vga none and -nic none, Thomas Huth, 2023/05/22
- [PULL 16/20] tests/qtest/meson.build: Run the net filter tests only with default devices,
Thomas Huth <=
- [PULL 20/20] memory: stricter checks prior to unsetting engaged_in_io, Thomas Huth, 2023/05/22
- [PULL 13/20] tests/qtest/cdrom-test: Fix the test to also work without optional devices, Thomas Huth, 2023/05/22
- [PULL 10/20] hw/sparc64/sun4u: Use MachineClass->default_nic and MachineClass->no_parallel, Thomas Huth, 2023/05/22
- [PULL 19/20] acpi/tests/avocado/bits: enable bios bits avocado tests on gitlab CI pipeline, Thomas Huth, 2023/05/22
- [PULL 18/20] .gitlab-ci.d/buildtest.yml: Run full "make check" with --without-default-devices, Thomas Huth, 2023/05/22
- [PULL 14/20] tests/qtest/virtio-ccw-test: Remove superfluous tests, Thomas Huth, 2023/05/22
- [PULL 02/20] softmmu/vl.c: Check for the availability of the VGA device before using it, Thomas Huth, 2023/05/22
- [PULL 12/20] tests/qtest/usb-hcd-uhci-test: Skip test if UHCI controller is not available, Thomas Huth, 2023/05/22
- [PULL 15/20] tests/qtest: Check for the availability of virtio-ccw devices before using them, Thomas Huth, 2023/05/22
- Re: [PULL 00/20] Allow "make check" with "--without-default-devices", Richard Henderson, 2023/05/22