mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +01:00
tests/io-channel: skip a "unimplemented" error on win32
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
0ca9edd15f
commit
bd45147077
@ -93,8 +93,12 @@ test_read_write (void)
|
|||||||
status = g_io_channel_set_flags (gio_r, G_IO_FLAG_NONBLOCK, &local_error);
|
status = g_io_channel_set_flags (gio_r, G_IO_FLAG_NONBLOCK, &local_error);
|
||||||
if (status == G_IO_STATUS_ERROR)
|
if (status == G_IO_STATUS_ERROR)
|
||||||
{
|
{
|
||||||
|
#ifdef G_OS_WIN32
|
||||||
|
g_test_message ("FIXME: not implemented on win32");
|
||||||
|
#else
|
||||||
/* Errors should not happen */
|
/* Errors should not happen */
|
||||||
g_assert_no_error (local_error);
|
g_assert_no_error (local_error);
|
||||||
|
#endif
|
||||||
g_clear_error (&local_error);
|
g_clear_error (&local_error);
|
||||||
}
|
}
|
||||||
buffer = g_string_sized_new (buffer_size_bytes);
|
buffer = g_string_sized_new (buffer_size_bytes);
|
||||||
|
Loading…
Reference in New Issue
Block a user