]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/functional: Add missing require_netdev('user') statements
authorThomas Huth <thuth@redhat.com>
Mon, 24 Mar 2025 12:34:50 +0000 (13:34 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 27 Mar 2025 07:59:35 +0000 (08:59 +0100)
commitdba0752f2c16f63825a06e9ebe4ac651bdc95b99
tree6cd4422f921bbade57fca57b42d6900c08acbd16
parentf0a6b3ec6d8dcaf2c4c1b159904a271e9eebd0df
tests/functional: Add missing require_netdev('user') statements

A bunch of tests are using "-netdev user" but fail to check
for the availability of SLIRP in the binary, so these tests
fail if QEMU has been configured with "--disable-slirp"
(most of the tests are disabled by default with a decorator,
that's likely why nobody noticed this problem yet). Add the
missing self.require_netdev('user') statements to skip the
tests if SLIRP is not available.

Message-ID: <20250324123450.111307-1-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/test_aarch64_rme_sbsaref.py
tests/functional/test_aarch64_rme_virt.py
tests/functional/test_arm_bpim2u.py
tests/functional/test_arm_cubieboard.py
tests/functional/test_arm_orangepi.py
tests/functional/test_ppc64_hv.py
tests/functional/test_x86_64_kvm_xen.py