diff options
| author | Eduardo Habkost | 2016-10-24 18:19:41 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2016-10-31 18:09:59 +0100 |
| commit | 2df35773cb412e5735ccad21212ce5cc10eb9c09 (patch) | |
| tree | 6a9f6743d4c0ab3bc33af4ba7b6282e9d460c9c9 | |
| parent | Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream-mttcg' into s... (diff) | |
| download | qemu-2df35773cb412e5735ccad21212ce5cc10eb9c09.tar.gz qemu-2df35773cb412e5735ccad21212ce5cc10eb9c09.tar.xz qemu-2df35773cb412e5735ccad21212ce5cc10eb9c09.zip | |
tests: Remove unneeded "-vnc none" option
Some tests use the "-vnc none" option without any clear reason,
making those tests break when --disable-vnc is specified on
./configure. Remove the unnecessary option.
Reviewed-by: John Snow <jsnow@redhat.com>
Tested-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
| -rw-r--r-- | tests/ide-test.c | 1 | ||||
| -rw-r--r-- | tests/ipmi-bt-test.c | 2 | ||||
| -rw-r--r-- | tests/ipmi-kcs-test.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/tests/ide-test.c b/tests/ide-test.c index 67c7df0c8d..fb541f88b5 100644 --- a/tests/ide-test.c +++ b/tests/ide-test.c @@ -620,7 +620,6 @@ static void test_retry_flush(const char *machine) prepare_blkdebug_script(debug_path, "flush_to_disk"); ide_test_start( - "-vnc none " "-drive file=blkdebug:%s:%s,if=ide,cache=writeback,format=raw," "rerror=stop,werror=stop", debug_path, tmp_path); diff --git a/tests/ipmi-bt-test.c b/tests/ipmi-bt-test.c index be9005eb85..ad1e97e91e 100644 --- a/tests/ipmi-bt-test.c +++ b/tests/ipmi-bt-test.c @@ -415,7 +415,7 @@ int main(int argc, char **argv) /* Run the tests */ g_test_init(&argc, &argv, NULL); - cmdline = g_strdup_printf("-vnc none" + cmdline = g_strdup_printf( " -chardev socket,id=ipmi0,host=localhost,port=%d,reconnect=10" " -device ipmi-bmc-extern,chardev=ipmi0,id=bmc0" " -device isa-ipmi-bt,bmc=bmc0", emu_port); diff --git a/tests/ipmi-kcs-test.c b/tests/ipmi-kcs-test.c index 3750389651..9cf0b34a33 100644 --- a/tests/ipmi-kcs-test.c +++ b/tests/ipmi-kcs-test.c @@ -276,7 +276,7 @@ int main(int argc, char **argv) /* Run the tests */ g_test_init(&argc, &argv, NULL); - cmdline = g_strdup_printf("-vnc none -device ipmi-bmc-sim,id=bmc0" + cmdline = g_strdup_printf("-device ipmi-bmc-sim,id=bmc0" " -device isa-ipmi-kcs,bmc=bmc0"); qtest_start(cmdline); qtest_irq_intercept_in(global_qtest, "ioapic"); |
