[glib: 9/11] tests: skip test_tree on win32
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 9/11] tests: skip test_tree on win32
- Date: Thu, 17 Mar 2022 15:14:17 +0000 (UTC)
commit 7fa499945717804b2c85865fc825f151d59ff1b2
Author: Marc-André Lureau <marcandre lureau redhat com>
Date: Sat Jan 22 01:48:13 2022 +0400
tests: skip test_tree on win32
Currently it simply crashes, because types == NULL.
Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>
gio/tests/contenttype.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/contenttype.c b/gio/tests/contenttype.c
index df56eb596..304083b3c 100644
--- a/gio/tests/contenttype.c
+++ b/gio/tests/contenttype.c
@@ -344,8 +344,8 @@ test_tree (void)
gchar **types;
gsize i;
-#ifdef __APPLE__
- g_test_skip ("The OSX backend does not implement g_content_type_guess_for_tree()");
+#if defined(__APPLE__) || defined(G_OS_WIN32)
+ g_test_skip ("The OSX & Windows backends do not implement g_content_type_guess_for_tree()");
return;
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]