[gtk/icontheme-api: 3/3] testsuite: Skip icontheme properties



commit 2cd39a6d1881012a451d309989ec2ac07586e0f7
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Feb 18 17:25:38 2020 -0500

    testsuite: Skip icontheme properties
    
    All the icontheme properties depend on the environment
    in various ways, so skip them in the defaultvalue test.

 testsuite/gtk/defaultvalue.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c
index ea64a5b5de..29536fe037 100644
--- a/testsuite/gtk/defaultvalue.c
+++ b/testsuite/gtk/defaultvalue.c
@@ -392,6 +392,10 @@ G_GNUC_END_IGNORE_DEPRECATIONS
           strcmp (pspec->name, "adjustment") == 0)
         continue;
 
+      /* All the icontheme properties depend on the environment */
+      if (g_type_is_a (type, GTK_TYPE_ICON_THEME))
+        continue;
+
       if (g_test_verbose ())
         {
           g_print ("Property %s:%s\n",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]