testsuite: Update mark names
authorMatthias Clasen <mclasen@redhat.com>
Fri, 24 Jan 2020 01:21:08 +0000 (20:21 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 24 Jan 2020 04:48:43 +0000 (23:48 -0500)
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
testsuite/gtk/meson.build

index 3aa364347a87974f4413d4e9d9a2f9f7b5958b5a..00f54efb2cacdbd85f0577277dceca501a9ea23f 100644 (file)
@@ -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') ],
index 416b087c12caa92ea58d81988b0806d42545ea19..9f67fbea71ea408e26c23c5de1824aa897f13b26 100644 (file)
@@ -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' ])