diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2022-10-27 19:36:24 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2022-10-31 20:37:59 +0000 |
commit | 5104b73824670316b1ae1736054e4ba8ab77f345 (patch) | |
tree | 1d38979fa1d8fcbb005aa8ee30246b3e016d9a01 | |
parent | 162f916453fb9e2d1d1c45cd081a8f8c66f29b9b (diff) | |
download | qemu-5104b73824670316b1ae1736054e4ba8ab77f345.zip qemu-5104b73824670316b1ae1736054e4ba8ab77f345.tar.gz qemu-5104b73824670316b1ae1736054e4ba8ab77f345.tar.bz2 |
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>
-rw-r--r-- | tests/avocado/info_usernet.py | 3 | ||||
-rw-r--r-- | tests/avocado/vnc.py | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/avocado/info_usernet.py b/tests/avocado/info_usernet.py index b862a47..fdc4d90 100644 --- a/tests/avocado/info_usernet.py +++ b/tests/avocado/info_usernet.py @@ -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') diff --git a/tests/avocado/vnc.py b/tests/avocado/vnc.py index 187fd3f..aeeefc7 100644 --- a/tests/avocado/vnc.py +++ b/tests/avocado/vnc.py @@ -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') |