tests/io-channel: skip a "unimplemented" error on win32

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2022-03-21 17:47:54 +04:00 committed by Philip Withnall
parent 0ca9edd15f
commit bd45147077

View File

@ -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);