[gtk/wip/matthiasc/css-change: 11/27] testsuite: Include change in css style tests



commit 5c57f7b4fcc0fc973a79b05af30fcedfc504c66f
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 13 19:24:53 2020 -0500

    testsuite: Include change in css style tests
    
    This will help debugging css change tracking.

 testsuite/css/style/test-css-style.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/testsuite/css/style/test-css-style.c b/testsuite/css/style/test-css-style.c
index 9c9cbb18e5..24f558aaea 100644
--- a/testsuite/css/style/test-css-style.c
+++ b/testsuite/css/style/test-css-style.c
@@ -128,6 +128,7 @@ load_ui_file (GFile *file, gboolean generate)
   context = gtk_widget_get_style_context (window);
 
   output = gtk_style_context_to_string (context, GTK_STYLE_CONTEXT_PRINT_RECURSE |
+                                                 GTK_STYLE_CONTEXT_PRINT_SHOW_CHANGE |
                                                  GTK_STYLE_CONTEXT_PRINT_SHOW_STYLE);
 
   if (generate)
@@ -273,6 +274,7 @@ main (int argc, char **argv)
           load_ui_file (file, TRUE);
 
           g_object_unref (file);
+          return 0;
         }
     }
   else


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