diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-12-30 10:40:25 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-01-10 21:48:23 +0000 |
commit | 8f1d9bb7b0cca265276c46caf928c047870b34f1 (patch) | |
tree | 01e3192d369e532f48ad054be5feca51abec7ea4 /run_project_tests.py | |
parent | a8c138ebc1f9005f7c32c78eae67a6289130e9c4 (diff) | |
download | meson-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-x | run_project_tests.py | 1 |
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 |