aboutsummaryrefslogtreecommitdiff
path: root/tests/endianness-test.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-11-18 17:36:34 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-11-19 10:28:14 +0100
commit2ad645d2854746b55ddfd1d8e951f689cca5d78f (patch)
tree5cc1db677afe89f2898d96cad243ede5c6339f32 /tests/endianness-test.c
parent06d22aa36706a3d6051b74c8a183ab554a0cb808 (diff)
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 <afaerber@suse.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/endianness-test.c')
-rw-r--r--tests/endianness-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/endianness-test.c b/tests/endianness-test.c
index 8719c0999c..646df7d8da 100644
--- a/tests/endianness-test.c
+++ b/tests/endianness-test.c
@@ -121,7 +121,7 @@ static void test_endianness(gconstpointer data)
const TestCase *test = data;
char *args;
- args = g_strdup_printf("-display none -M %s%s%s -device pc-testdev",
+ args = g_strdup_printf("-M %s%s%s -device pc-testdev",
test->machine,
test->superio ? " -device " : "",
test->superio ?: "");
@@ -196,7 +196,7 @@ static void test_endianness_split(gconstpointer data)
const TestCase *test = data;
char *args;
- args = g_strdup_printf("-display none -M %s%s%s -device pc-testdev",
+ args = g_strdup_printf("-M %s%s%s -device pc-testdev",
test->machine,
test->superio ? " -device " : "",
test->superio ?: "");
@@ -243,7 +243,7 @@ static void test_endianness_combine(gconstpointer data)
const TestCase *test = data;
char *args;
- args = g_strdup_printf("-display none -M %s%s%s -device pc-testdev",
+ args = g_strdup_printf("-M %s%s%s -device pc-testdev",
test->machine,
test->superio ? " -device " : "",
test->superio ?: "");