diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-07-26 19:30:23 +0400 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-07-28 18:27:59 +0400 |
| commit | 297641d43ccf18274e18da841f69bdb256a60ce1 (patch) | |
| tree | 63a704f2e1cf5ad7053cdbb0cc61fe55bacda5de | |
| parent | 264991512193ee50e27d43e66f832d5041cf3b28 (diff) | |
| download | focaccia-qemu-297641d43ccf18274e18da841f69bdb256a60ce1.tar.gz focaccia-qemu-297641d43ccf18274e18da841f69bdb256a60ce1.zip | |
test-char: abort on serial test error
We are having issues debugging and bisecting this issue that happen mostly on patchew. Let's make it abort where it failed to gather some new informations. Suggested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
| -rw-r--r-- | tests/test-char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-char.c b/tests/test-char.c index 614bdac2df..d35cc839bc 100644 --- a/tests/test-char.c +++ b/tests/test-char.c @@ -1200,7 +1200,7 @@ static void char_serial_test(void) /* test tty alias */ qemu_opt_set(opts, "backend", "tty", &error_abort); - chr = qemu_chr_new_from_opts(opts, NULL, NULL); + chr = qemu_chr_new_from_opts(opts, NULL, &error_abort); g_assert_nonnull(chr); object_unparent(OBJECT(chr)); |