mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
tests: Add more debug output to converter-stream test
It’s periodically failing on FreeBSD and I can’t reproduce the failure locally nor work out what it is from the logs: ``` Bail out! GLib-GIO:ERROR:../gio/tests/converter-stream.c:1041:test_converter_pollable: assertion failed (res != -1): (-1 != -1) stderr: ** GLib-GIO:ERROR:../gio/tests/converter-stream.c:1041:test_converter_pollable: assertion failed (res != -1): (-1 != -1) ``` Add some more debug output to get the value of `error`, in the hope that will provide some insight. See: https://gitlab.gnome.org/GNOME/glib/-/jobs/1866486 Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
80d3018c1d
commit
54ee8e5414
@ -1038,7 +1038,10 @@ test_converter_pollable (void)
|
|||||||
|
|
||||||
/* After closing the write end, we can't get WOULD_BLOCK any more */
|
/* After closing the write end, we can't get WOULD_BLOCK any more */
|
||||||
if (!socket_out)
|
if (!socket_out)
|
||||||
g_assert_cmpint (res, !=, -1);
|
{
|
||||||
|
g_assert_no_error (error);
|
||||||
|
g_assert_cmpint (res, !=, -1);
|
||||||
|
}
|
||||||
|
|
||||||
if (res == -1)
|
if (res == -1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user