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, 1 insertions, 1 deletions
diff --git a/meson_test.py b/meson_test.py
index 8061215..a7ba7de 100755
--- a/meson_test.py
+++ b/meson_test.py
@@ -104,7 +104,7 @@ def run_single_test(wrap, test):
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)
+ env=child_env, cwd=test.workdir)
timed_out = False
try:
(stdo, stde) = p.communicate(timeout=test.timeout)