diff options
Diffstat (limited to 'tests/virtio-console-test.c')
-rw-r--r-- | tests/virtio-console-test.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/virtio-console-test.c b/tests/virtio-console-test.c index 6d6414dc8e..1c3de072f4 100644 --- a/tests/virtio-console-test.c +++ b/tests/virtio-console-test.c @@ -27,13 +27,9 @@ static void serialport_pci_nop(void) int main(int argc, char **argv) { - int ret; - g_test_init(&argc, &argv, NULL); qtest_add_func("/virtio/console/pci/nop", console_pci_nop); qtest_add_func("/virtio/serialport/pci/nop", serialport_pci_nop); - ret = g_test_run(); - - return ret; + return g_test_run(); } |