summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2021-10-18 15:47:00 +0100
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-10-20 11:20:44 +0000
commit8dfab0b08c86989e5c911db472b7677f60c1b978 (patch)
treeebcddbe9c915088d8b680e695b00468c6c16d965 /tests
parentf1bb2c76c6a8fff91ecde68f6553ce8e133f7521 (diff)
meson: update for meson.build_root() and .build_source() deprecation
-> use meson.project_build_root() or .global_build_root() instead. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183>
Diffstat (limited to 'tests')
-rw-r--r--tests/python/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/meson.build b/tests/python/meson.build
index c41fd0b8c5..aae7cf63bd 100644
--- a/tests/python/meson.build
+++ b/tests/python/meson.build
@@ -13,9 +13,9 @@ if run_command(python, '-c', 'import gi').returncode() != 0
subdir_done()
endif
-test('python-overrides-devenv', setenv, args: ['--builddir=@0@'.format(meson.build_root()),
+test('python-overrides-devenv', setenv, args: ['--builddir=@0@'.format(meson.project_build_root()),
'--gstbuilddir=@0@'.format(meson.current_build_dir() / '..' / '..'),
- '--srcdir=@0@'.format(meson.source_root()),
+ '--srcdir=@0@'.format(meson.project_source_root()),
meson.current_source_dir() / 'python-devenv-overrides.py'])
env = environment()