forked from AuroraMiddleware/gtk
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:
parent
878f35515d
commit
24fa0f8e28
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user