tests/avocado: set -machine none for userfwd and vnc tests
RFC PATCH 1/1 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.
Signed-off-by Alex Bennée <[email protected]>
--- tests/avocado/info_usernet.py | 3 +++ tests/avocado/vnc.py | 1 + 2 files changed, 4 insertions(+)
tests/avocado/info_usernet.py +3 -0
@@ -14,6 +14,9 @@ class InfoUsernet(QemuSystemTest): + """ + :avocado: tags=machine:none + """ def test_hostfwd(self): self.require_netdev('user')
tests/avocado/vnc.py +1 -0
@@ -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')
Signature · 1 line
2.34.1