File: meson.build

package info (click to toggle)
nautilus 48.3-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 33,964 kB
  • sloc: ansic: 90,183; xml: 446; python: 128; makefile: 34; sh: 21; javascript: 5
file content (21 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# When adding new tests, it is useful to set some environment variables.
# You can do it like so:
#
# test(
#   name,
#   executable,
#   env: [
#     test_env,
#     'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
#     'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir())
#   ]
# )
#
# G_TEST_BUILDDIR and G_TEST_SRCDIR cannot be preset, since
# the test sources are scattered.
test_env = [
  'GSETTINGS_SCHEMA_DIR=@0@'.format(join_paths(meson.project_build_root(), 'data')),
  'RUNNING_TESTS=@0@'.format('TRUE')
]

subdir('automated')