aboutsummaryrefslogtreecommitdiff
path: root/meson_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson_test.py')
-rwxr-xr-xmeson_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_test.py b/meson_test.py
index 5dedd01..025571d 100755
--- a/meson_test.py
+++ b/meson_test.py
@@ -95,6 +95,8 @@ def run_single_test(wrap, test):
starttime = time.time()
child_env = os.environ.copy()
child_env.update(test.env)
+ if len(test.extra_paths) > 0:
+ child_env['PATH'] = child_env['PATH'] + ';'.join([''] + test.extra_paths)
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
env=child_env)
timed_out = False