1# When adding new tests, it is useful to set some environment variables.
2# You can do it like so:
3#
4# test(
5#   name,
6#   executable,
7#   env: [
8#     test_env,
9#     'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
10#     'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir())
11#   ]
12# )
13#
14# G_TEST_BUILDDIR and G_TEST_SRCDIR cannot be preset, since
15# the test sources are scattered.
16test_env = [
17  'GSETTINGS_SCHEMA_DIR=@0@'.format(join_paths(meson.build_root(), 'data')),
18  'RUNNING_TESTS=@0@'.format('TRUE')
19]
20
21subdir('automated')
22subdir('interactive')
23