[glib: 9/11] tests: skip test_tree on win32




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]