From 2ad645d2854746b55ddfd1d8e951f689cca5d78f Mon Sep 17 00:00:00 2001 From: Andreas Färber Date: Mon, 18 Nov 2013 17:36:34 +0100 Subject: qtest: Use -display none by default This avoids each test needing to add it to suppress windows popping up. [Commit 7ceeedd016facf8d58e14a0d1417fa7225d71072 ("blockdev-test: add test case for drive_add duplicate IDs") and commit 43cd209803d6cffb1e1a028c9ff2fd0ff4fce954 ("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 Signed-off-by: Stefan Hajnoczi --- tests/qom-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/qom-test.c') diff --git a/tests/qom-test.c b/tests/qom-test.c index 6ed23c5e54..499be40261 100644 --- a/tests/qom-test.c +++ b/tests/qom-test.c @@ -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); -- cgit v1.2.3-55-g7522