]> www.infradead.org Git - qemu-nvme.git/commitdiff
tests/avocado: set -machine none for userfwd and vnc tests
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 27 Oct 2022 18:36:24 +0000 (19:36 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 31 Oct 2022 20:37:59 +0000 (20:37 +0000)
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>

tests/avocado/info_usernet.py
tests/avocado/vnc.py

index b862a47dba08f42881d866ac913028c2a60a2c4a..fdc4d90c420822bf9e08467721253a5fdc3a00ee 100644 (file)
@@ -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')
index 187fd3febca4ac8ea26359934301bda6a635f154..aeeefc70be256594372bdf9b74f11b2d35e8ea55 100644 (file)
@@ -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')