[glib: 1/6] glib/tests: skip rfc8536 file parsing on Windows
- From: Nirbheek Chauhan <nirbheekc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/6] glib/tests: skip rfc8536 file parsing on Windows
- Date: Thu, 10 Feb 2022 09:43:27 +0000 (UTC)
commit 60e7430c80cdfc4c91a9a9f2117a0a6a88686879
Author: Marc-André Lureau <marcandre lureau redhat com>
Date: Fri Jan 21 20:20:15 2022 +0400
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>
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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]