[gtk/matthiasc/for-master: 2/8] testsuite: Update mark names



commit 9eadcd8d55a4beec69813e26db8d0e25ab251f5b
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jan 23 20:21:08 2020 -0500

    testsuite: Update mark names
    
    We've changed some of the profiler mark names to
    be clearer and more unique. Update the tests that
    look for those marks to use the new names.

 testsuite/css/meson.build | 4 ++--
 testsuite/gtk/meson.build | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/testsuite/css/meson.build b/testsuite/css/meson.build
index 3aa364347a..00f54efb2c 100644
--- a/testsuite/css/meson.build
+++ b/testsuite/css/meson.build
@@ -49,7 +49,7 @@ endif
 if get_option ('profiler')
 
   test('performance-adwaita', test_performance,
-       args: [ '--mark', 'style',
+       args: [ '--mark', 'css validation',
                '--name',  'performance-adwaita',
                '--output', join_paths(meson.current_build_dir(), 'output'),
                join_paths(meson.current_build_dir(), '../../demos/widget-factory/gtk4-widget-factory') ],
@@ -58,7 +58,7 @@ if get_option ('profiler')
        suite: [ 'css' ])
 
   test('performance-empty', test_performance,
-       args: [ '--mark', 'style',
+       args: [ '--mark', 'css validation',
                '--name',  'performance-empty',
                '--output', join_paths(meson.current_build_dir(), 'output'),
                join_paths(meson.current_build_dir(), '../../demos/widget-factory/gtk4-widget-factory') ],
diff --git a/testsuite/gtk/meson.build b/testsuite/gtk/meson.build
index 416b087c12..9f67fbea71 100644
--- a/testsuite/gtk/meson.build
+++ b/testsuite/gtk/meson.build
@@ -189,7 +189,7 @@ endif
 if get_option ('profiler')
 
   test('performance-layout', test_performance,
-       args: [ '--mark', 'layout', join_paths(meson.current_build_dir(), 
'../../demos/widget-factory/gtk4-widget-factory') ],
+       args: [ '--mark', 'size allocation', join_paths(meson.current_build_dir(), 
'../../demos/widget-factory/gtk4-widget-factory') ],
        env: [ 'GTK_THEME=Empty',
               'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir) ],
        suite: [ 'css' ])
@@ -199,7 +199,7 @@ endif
 if get_option ('profiler')
 
   test('performance-snapshot', test_performance,
-       args: [ '--mark', 'snapshot', join_paths(meson.current_build_dir(), 
'../../demos/widget-factory/gtk4-widget-factory') ],
+       args: [ '--mark', 'widget snapshot', join_paths(meson.current_build_dir(), 
'../../demos/widget-factory/gtk4-widget-factory') ],
        env: [ 'GTK_THEME=Empty',
               'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir) ],
        suite: [ 'css' ])


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