[gtk/wip/matthiasc/css-values: 10/23] testsuite: Include change in css style tests



commit 004b5aad728ab0825c96a7dabf51a5f4a9f49679
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 fd998472bf..5be302d6b1 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)
@@ -270,6 +271,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]