summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2022-08-05 15:39:13 -0500
committerMichael Catanzaro <mcatanzaro@redhat.com>2022-08-05 15:39:13 -0500
commit9f673c16b0ee0c9c18cf399bd24e4a6ac4f30a9e (patch)
treea6473a07c07b9f61247dd114575c0719417f231f /tests
parentba149eb2dac7d76d78bb588d57076b5d28c93748 (diff)
downloadepiphany-9f673c16b0ee0c9c18cf399bd24e4a6ac4f30a9e.tar.gz
build: use project_source_root(), project_build_root()
Meson complains the older versions are deprecated.
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 7d474497a..d090af737 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,9 +1,9 @@
envs = [
'G_TEST_SRCDIR=' + meson.current_source_dir(),
'G_TEST_BUILDDIR=' + meson.current_build_dir(),
- 'GSETTINGS_SCHEMA_DIR=' + join_paths(meson.build_root(), 'data'),
+ 'GSETTINGS_SCHEMA_DIR=' + join_paths(meson.project_build_root(), 'data'),
'GSETTINGS_BACKEND=memory',
- 'PATH=' + join_paths(meson.build_root(), 'src') + ':' + run_command('printenv', 'PATH', check: true).stdout(),
+ 'PATH=' + join_paths(meson.project_build_root(), 'src') + ':' + run_command('printenv', 'PATH', check: true).stdout(),
]
test_cargs = ['-UG_DISABLE_ASSERT']