tests/avocado: set -machine none for userfwd and vnc tests
These are exercising core QEMU features and don't actually run code. Not specifying a machine will fail when avocado chooses the native arch binary to run. Be explicit. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20221027183637.2772968-19-alex.bennee@linaro.org>
This commit is contained in:
parent
162f916453
commit
5104b73824
@ -14,6 +14,9 @@ from qemu.utils import get_info_usernet_hostfwd_port
|
||||
|
||||
|
||||
class InfoUsernet(QemuSystemTest):
|
||||
"""
|
||||
:avocado: tags=machine:none
|
||||
"""
|
||||
|
||||
def test_hostfwd(self):
|
||||
self.require_netdev('user')
|
||||
|
@ -53,6 +53,7 @@ def find_free_ports(count: int) -> List[int]:
|
||||
class Vnc(QemuSystemTest):
|
||||
"""
|
||||
:avocado: tags=vnc,quick
|
||||
:avocado: tags=machine:none
|
||||
"""
|
||||
def test_no_vnc(self):
|
||||
self.vm.add_args('-nodefaults', '-S')
|
||||
|
Loading…
Reference in New Issue
Block a user