summaryrefslogtreecommitdiff
path: root/test/end-to-end/with_remote_test_runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/end-to-end/with_remote_test_runner.py')
-rwxr-xr-xtest/end-to-end/with_remote_test_runner.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/end-to-end/with_remote_test_runner.py b/test/end-to-end/with_remote_test_runner.py
index 31e3ca14..31601272 100755
--- a/test/end-to-end/with_remote_test_runner.py
+++ b/test/end-to-end/with_remote_test_runner.py
@@ -74,9 +74,16 @@ if not custom_remote:
print(f"Warning: removing unexpected info file {REMOTE_INFO}")
os.remove(REMOTE_INFO)
+ PATH=subprocess.run(
+ ["env", "--", "sh", "-c", "echo -n $PATH"],
+ stdout=subprocess.PIPE,
+ ).stdout.decode('utf-8')
+
remote_cmd = [
"./bin/just",
"execute",
+ "-L",
+ json.dumps(["env", "PATH=" + PATH]),
"--info-file",
REMOTE_INFO,
"--local-build-root",