aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-12-30 10:40:25 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2021-01-10 21:48:23 +0000
commit8f1d9bb7b0cca265276c46caf928c047870b34f1 (patch)
tree01e3192d369e532f48ad054be5feca51abec7ea4 /run_project_tests.py
parenta8c138ebc1f9005f7c32c78eae67a6289130e9c4 (diff)
downloadmeson-8f1d9bb7b0cca265276c46caf928c047870b34f1.zip
meson-8f1d9bb7b0cca265276c46caf928c047870b34f1.tar.gz
meson-8f1d9bb7b0cca265276c46caf928c047870b34f1.tar.bz2
cmake: add PATH logic to preliminary dep check (fixes #8133)
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 1dff386..772aa2e 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -653,6 +653,7 @@ def gather_tests(testdir: Path, stdout_mandatory: bool) -> T.List[TestDef]:
env = test_def['env']
for key, val in env.items():
val = val.replace('@ROOT@', t.path.resolve().as_posix())
+ val = val.replace('@PATH@', t.env.get('PATH', ''))
env[key] = val
# Handle installed files