mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
glib/tests: skip rfc8536 file parsing on Windows
This is specific to Unix, as far as I can tell. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
7800d1056f
commit
60e7430c80
@ -2946,6 +2946,7 @@ test_new_offset (void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef G_OS_WIN32
|
||||||
static void
|
static void
|
||||||
test_time_zone_parse_rfc8536 (void)
|
test_time_zone_parse_rfc8536 (void)
|
||||||
{
|
{
|
||||||
@ -2975,6 +2976,7 @@ test_time_zone_parse_rfc8536 (void)
|
|||||||
g_free (path);
|
g_free (path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Check GTimeZone instances are cached. */
|
/* Check GTimeZone instances are cached. */
|
||||||
static void
|
static void
|
||||||
@ -3126,7 +3128,9 @@ main (gint argc,
|
|||||||
g_test_add_func ("/GTimeZone/floating-point", test_GDateTime_floating_point);
|
g_test_add_func ("/GTimeZone/floating-point", test_GDateTime_floating_point);
|
||||||
g_test_add_func ("/GTimeZone/identifier", test_identifier);
|
g_test_add_func ("/GTimeZone/identifier", test_identifier);
|
||||||
g_test_add_func ("/GTimeZone/new-offset", test_new_offset);
|
g_test_add_func ("/GTimeZone/new-offset", test_new_offset);
|
||||||
|
#ifndef G_OS_WIN32
|
||||||
g_test_add_func ("/GTimeZone/parse-rfc8536", test_time_zone_parse_rfc8536);
|
g_test_add_func ("/GTimeZone/parse-rfc8536", test_time_zone_parse_rfc8536);
|
||||||
|
#endif
|
||||||
g_test_add_func ("/GTimeZone/caching", test_time_zone_caching);
|
g_test_add_func ("/GTimeZone/caching", test_time_zone_caching);
|
||||||
|
|
||||||
return g_test_run ();
|
return g_test_run ();
|
||||||
|
Loading…
Reference in New Issue
Block a user