aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Maier <brandon.maier@collins.com>2023-08-01 21:54:30 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2023-08-03 12:31:22 +1000
commit8d8372b13706514fada1415cb4b29a0ab0235d07 (patch)
tree0d4b847d3e2507f6d0f3ee0fb93761bc22fc4139
parent761114effaf7216d8d7fc51d8810f2eb27682db8 (diff)
downloaddtc-8d8372b13706514fada1415cb4b29a0ab0235d07.tar.gz
tests: fix use of deprecated meson methods
Fixes the following warnings > tests/meson.build:123: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead > tests/meson.build:124: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead. Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--tests/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 29a42dd..fe10fa2 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -120,8 +120,8 @@ if not py.found()
env += 'NO_PYTHON=1'
else
env += [
- 'PYTHON=' + py.path(),
- 'PYTHONPATH=' + meson.source_root() / 'pylibfdt',
+ 'PYTHON=' + py.full_path(),
+ 'PYTHONPATH=' + meson.project_source_root() / 'pylibfdt',
]
endif
if not yaml.found()