2017-03-22 13:39:14 +00:00
|
|
|
bash = find_program('bash', required : false)
|
|
|
|
if bash.found()
|
|
|
|
test_env = environment()
|
|
|
|
|
2020-11-01 19:47:02 +00:00
|
|
|
foreach t : ['simplify', 'simplify-3to4', 'validate', 'settings']
|
2023-05-10 01:21:39 +00:00
|
|
|
test(t,
|
|
|
|
find_program(t, dirs: meson.current_source_dir()),
|
2020-12-15 12:31:38 +00:00
|
|
|
workdir: meson.current_build_dir(),
|
|
|
|
protocol: 'tap',
|
|
|
|
env: [
|
2021-07-28 17:21:03 +00:00
|
|
|
'TEST_RESULT_DIR=@0@'.format(join_paths(meson.current_build_dir(), 'output')),
|
2020-12-15 12:31:38 +00:00
|
|
|
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
|
|
|
|
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
|
|
|
|
'GTK_A11Y=test',
|
|
|
|
'GTK_BUILDER_TOOL=@0@'.format(get_variable('gtk4_builder_tool').full_path()),
|
|
|
|
'GTK_QUERY_SETTINGS=@0@'.format(get_variable('gtk4_query_settings').full_path())
|
|
|
|
],
|
|
|
|
suite: 'tools',
|
|
|
|
)
|
2017-03-22 13:39:14 +00:00
|
|
|
endforeach
|
2017-10-18 02:41:57 +00:00
|
|
|
endif
|