From 60e7430c80cdfc4c91a9a9f2117a0a6a88686879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Fri, 21 Jan 2022 20:20:15 +0400 Subject: [PATCH] glib/tests: skip rfc8536 file parsing on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is specific to Unix, as far as I can tell. Signed-off-by: Marc-André Lureau --- glib/tests/gdatetime.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glib/tests/gdatetime.c b/glib/tests/gdatetime.c index 008aa3ce4..3c2796847 100644 --- a/glib/tests/gdatetime.c +++ b/glib/tests/gdatetime.c @@ -2946,6 +2946,7 @@ test_new_offset (void) } } +#ifndef G_OS_WIN32 static void test_time_zone_parse_rfc8536 (void) { @@ -2975,6 +2976,7 @@ test_time_zone_parse_rfc8536 (void) g_free (path); } } +#endif /* Check GTimeZone instances are cached. */ 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/identifier", test_identifier); 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); +#endif g_test_add_func ("/GTimeZone/caching", test_time_zone_caching); return g_test_run ();