From c7caa53917b1bd7795360bbe324a11ad43debeda Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 20 Mar 2020 13:47:58 -0400 Subject: [PATCH] testsuite: disable performance tests For some reason, these tests are flaky in ci, they always work locally for me. So, until we use the data these tests produce for something, lets just turn them off. --- testsuite/css/meson.build | 2 +- testsuite/gtk/meson.build | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/testsuite/css/meson.build b/testsuite/css/meson.build index 04bda16093..18334d1ead 100644 --- a/testsuite/css/meson.build +++ b/testsuite/css/meson.build @@ -52,7 +52,7 @@ if get_option('install-tests') install_dir: testdatadir) endif -if get_option ('profiler') +if false and get_option ('profiler') test('performance-adwaita', test_performance, args: [ '--mark', 'css validation', diff --git a/testsuite/gtk/meson.build b/testsuite/gtk/meson.build index 19a44e7987..58fca614c7 100644 --- a/testsuite/gtk/meson.build +++ b/testsuite/gtk/meson.build @@ -208,7 +208,7 @@ if get_option('install-tests') endif -if get_option ('profiler') +if false and get_option ('profiler') test('performance-layout', test_performance, args: [ '--mark', 'size allocation', join_paths(meson.current_build_dir(), '../../demos/widget-factory/gtk4-widget-factory') ], @@ -216,10 +216,6 @@ if get_option ('profiler') 'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir) ], suite: [ 'gtk' ]) -endif - -if get_option ('profiler') - test('performance-snapshot', test_performance, args: [ '--mark', 'widget snapshot', join_paths(meson.current_build_dir(), '../../demos/widget-factory/gtk4-widget-factory') ], env: [ 'GTK_THEME=Empty',