From 9eadcd8d55a4beec69813e26db8d0e25ab251f5b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 23 Jan 2020 20:21:08 -0500 Subject: [PATCH] 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' ])