tests: Remove unneeded "-vnc none" option
PATCH 1/1 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.
--- tests/ide-test.c | 1 - tests/ipmi-bt-test.c | 2 +- tests/ipmi-kcs-test.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-)
tests/ide-test.c +0 -1
@@ -582,7 +582,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);
tests/ipmi-bt-test.c +1 -1
@@ -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);
tests/ipmi-kcs-test.c +1 -1
@@ -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" );
Signature · 1 line
2.7.4
Quoted 16 lines · Eduardo Habkost
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.
Signed-off-by Eduardo Habkost <[email protected]>--- tests/ide-test.c | 1 - tests/ipmi-bt-test.c | 2 +- tests/ipmi-kcs-test.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-)tests/ide-test.c +0
-0
tests/ide-test.c static void test_retry_flush(const char *machine) · line 587
Quoted 7 lines
tests/ide-test.c +0
-1@@ -582,7 +582,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);
Quoted 27 lines
tests/ipmi-bt-test.c +1
-1@@ -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);tests/ipmi-kcs-test.c +1
-1@@ -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" );
Quoted 41 lines · Eduardo Habkost
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.
Signed-off-by Eduardo Habkost <[email protected]>--- tests/ide-test.c | 1 - tests/ipmi-bt-test.c | 2 +- tests/ipmi-kcs-test.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-)tests/ide-test.c +0
-1@@ -582,7 +582,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);tests/ipmi-bt-test.c +1
-1@@ -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);tests/ipmi-kcs-test.c +0
-0
tests/ipmi-kcs-test.c int main(int argc, char **argv) · line 280
Quoted 6 lines
tests/ipmi-kcs-test.c +1
-1@@ -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" );
Quoted 2 lines
tests/ipmi-kcs-test.c +0
-0qtest_start (cmdline);qtest_irq_intercept_in (global_qtest,"ioapic" );
Quoted 5 lines · Eduardo Habkost
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.
Signed-off-by Eduardo Habkost <[email protected]>
FWIW
Quoted 46 lines
--- tests/ide-test.c | 1 - tests/ipmi-bt-test.c | 2 +- tests/ipmi-kcs-test.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-)tests/ide-test.c +0
-1@@ -582,7 +582,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);tests/ipmi-bt-test.c +1
-1@@ -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);tests/ipmi-kcs-test.c +1
-1@@ -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" );Signature · 1 line
2.7.4
Am 24.10.2016 um 18:25 hat Eduardo Habkost geschrieben:
Quoted 5 lines
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.
Signed-off-by Eduardo Habkost <[email protected]>
Who is supposed to merge this?
Kevin
Quoted 10 lines · Kevin Wolf
Am 24.10.2016 um 18:25 hat Eduardo Habkost geschrieben:
Quoted 5 lines
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.
Signed-off-by Eduardo Habkost <[email protected]>Acked-by Kevin Wolf <[email protected]>Who is supposed to merge this?
I will do it.
Signature · 1 line
Eduardo