gtk2/testsuite/css/performance/meson.build
Matthias Clasen 23426b0f39 Fix testsuite without -Dprofiler=true
Only build and run the performance tests if we have sysprof.
2020-01-21 18:09:43 -05:00

10 lines
425 B
Meson

if get_option ('profiler')
test_css_performance = executable('test-css-performance', 'test-css-performance.c',
dependencies: [profiler_dep, platform_gio_dep, libm])
test('performance', test_css_performance,
args: [ join_paths(meson.current_build_dir(), '../../../demos/widget-factory/gtk4-widget-factory') ],
env: [ 'GTK_THEME=Adwaita' ],
suite: [ 'css' ])
endif