mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Skip a test if iconv doesn't support the encoding
svn path=/trunk/; revision=7180
This commit is contained in:
@@ -44,7 +44,10 @@ test_iconv_state (void)
|
||||
|
||||
out = g_convert (in, -1, "UTF-8", "CP1255",
|
||||
&bytes_read, &bytes_written, &error);
|
||||
|
||||
|
||||
if (error && error->code == G_CONVERT_ERROR_NO_CONVERSION)
|
||||
return; /* silently skip if CP1255 is not supported, see bug 467707 */
|
||||
|
||||
g_assert (error == NULL);
|
||||
g_assert (bytes_read == 5);
|
||||
g_assert (bytes_written == 10);
|
||||
|
Reference in New Issue
Block a user