mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
qtest: Use -display none by default
This avoids each test needing to add it to suppress windows popping up. [Commit7ceeedd016
("blockdev-test: add test case for drive_add duplicate IDs") and commit43cd209803
("qdev-monitor-test: add device_add leak test cases") added qtest tests without specifying -display none. As a result, "make check" now tries to use graphics (GTK or SDL). Since graphics are not used by the test and inappropriate for headless "make check" runs, add the missing -display none. This fixes "make check" in the QEMU buildbot. -- Stefan] Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
06d22aa367
commit
2ad645d285
10 changed files with 12 additions and 12 deletions
|
@ -18,7 +18,7 @@ static void test_nop(gconstpointer data)
|
|||
const char *machine = data;
|
||||
char *args;
|
||||
|
||||
args = g_strdup_printf("-display none -machine %s", machine);
|
||||
args = g_strdup_printf("-machine %s", machine);
|
||||
s = qtest_start(args);
|
||||
if (s) {
|
||||
qtest_quit(s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue