summary refs log tree commit diff stats
path: root/tests/qtest/vnc-display-test.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-01-19 13:05:13 +0100
committerThomas Huth <thuth@redhat.com>2023-01-26 13:42:28 +0100
commitfe843ea21889236f41a96590513b042e59032a39 (patch)
tree06248f342f4132f1bbcc8d43befa4b0bebdb755b /tests/qtest/vnc-display-test.c
parent6c25794fa36fe3fa483c6392c44ae68692aabb3a (diff)
downloadfocaccia-qemu-fe843ea21889236f41a96590513b042e59032a39.tar.gz
focaccia-qemu-fe843ea21889236f41a96590513b042e59032a39.zip
tests/qtest/vnc-display-test: Use the 'none' machine
If we don't specify any machine, an architecture default
might be picked. But some architectures don't provide any
default, such ARM:

  $ make check-qtest-aarch64
  ...
  19/20 qemu:qtest+qtest-aarch64 / qtest-aarch64/vnc-display-test
  qemu-system-aarch64: No machine specified, and there is no default

Since we don't need any particular machine to run this VNC
test, use the 'none' machine.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230119120514.28778-3-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest/vnc-display-test.c')
-rw-r--r--tests/qtest/vnc-display-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/vnc-display-test.c b/tests/qtest/vnc-display-test.c
index fd63e3a881..df468c7b22 100644
--- a/tests/qtest/vnc-display-test.c
+++ b/tests/qtest/vnc-display-test.c
@@ -44,7 +44,7 @@ test_setup(Test *test)
 #else
     int pair[2];
 
-    test->qts = qtest_init("-vnc none -name vnc-test");
+    test->qts = qtest_init("-M none -vnc none -name vnc-test");
 
     g_assert_cmpint(qemu_socketpair(AF_UNIX, SOCK_STREAM, 0, pair), ==, 0);