From 3ade071f273aaa973e44bf95d6b1d4913a18f03b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:39:48 +0200 Subject: Adding upstream version 43.2. Signed-off-by: Daniel Baumann --- test/meson.build | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/meson.build (limited to 'test/meson.build') diff --git a/test/meson.build b/test/meson.build new file mode 100644 index 0000000..f8bcdac --- /dev/null +++ b/test/meson.build @@ -0,0 +1,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') -- cgit v1.2.3