]> Git Repo - qemu.git/commit
tests/avocado: Add missing require_netdev('user') checks
authorPeter Maydell <[email protected]>
Sat, 1 Oct 2022 19:52:24 +0000 (20:52 +0100)
committerThomas Huth <[email protected]>
Tue, 11 Oct 2022 15:25:50 +0000 (17:25 +0200)
commit0793fe014c4fc8649288044cd81024482b197cfc
tree57bf9df4e8a0c256ae35b8ef57cb8ef1100eff3f
parent46d11f9d77b0c0f01fc6f78b2b8e5386abd03209
tests/avocado: Add missing require_netdev('user') checks

Some avocado tests fail if QEMU was built without libslirp. Add
require_netdev('user') checks where necessary:

These tests try to ping 10.0.2.2 and expect it to succeed:
  boot_linux_console.py:BootLinuxConsole.test_arm_emcraft_sf2
  boot_linux_console.py:BootLinuxConsole.test_arm_orangepi_sd
  ppc_bamboo.py:BambooMachine.test_ppc_bamboo

These tests run a commandline that includes '-net user':
  machine_aspeed.py:AST2x00Machine.test_arm_ast2500_evb_builroot
  (and others that use the do_test_arm_aspeed_buidroot_start()
  or do_test_arm_aspeed_sdk_start() helper functions)

These changes seem to be sufficient for 'make check-avocado'
to not fail on a --disable-slirp build.

Signed-off-by: Peter Maydell <[email protected]>
Message-Id: <20221001195224.2453581[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
tests/avocado/boot_linux_console.py
tests/avocado/machine_aspeed.py
tests/avocado/ppc_bamboo.py
This page took 0.02207 seconds and 4 git commands to generate.