testsuite: Move the meson performance tests up

Since the binary is moved, there is no need for
the subdirectory here anymore.
This commit is contained in:
Matthias Clasen 2020-01-22 00:58:13 -05:00
parent 878f35515d
commit 24fa0f8e28
2 changed files with 16 additions and 16 deletions

View File

@ -2,7 +2,6 @@ subdir('parser')
subdir('nodes')
subdir('style')
subdir('change')
subdir('performance')
testexecdir = join_paths(installed_test_bindir, 'css')
testdatadir = join_paths(installed_test_datadir, 'css')
@ -46,3 +45,19 @@ if get_option('install-tests')
configuration: conf,
install_dir: testdatadir)
endif
if get_option ('profiler')
test('performance-adwaita', test_performance,
args: [ '--mark', 'style', join_paths(meson.current_build_dir(), '../../demos/widget-factory/gtk4-widget-factory') ],
env: [ 'GTK_THEME=Adwaita',
'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir) ],
suite: [ 'css' ])
test('performance-empty', test_performance,
args: [ '--mark', 'style', 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' ])
endif

View File

@ -1,15 +0,0 @@
if get_option ('profiler')
test('performance-adwaita', test_performance,
args: [ '--mark', 'style', join_paths(meson.current_build_dir(), '../../../demos/widget-factory/gtk4-widget-factory') ],
env: [ 'GTK_THEME=Adwaita',
'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir) ],
suite: [ 'css' ])
test('performance-empty', test_performance,
args: [ '--mark', 'style', 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' ])
endif