diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-05-08 15:34:30 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-05-13 11:08:42 +0200 |
commit | e1dde07aabd06fdaa131e04185bf7fed9c3b5ac6 (patch) | |
tree | 266d1f8a7fba87d57b4358300abd5d87c5bfbb80 /test/end-to-end/with_serve_test_runner.py | |
parent | f5c95742d60f88df37e242c4066468f14c14bd05 (diff) | |
download | justbuild-e1dde07aabd06fdaa131e04185bf7fed9c3b5ac6.tar.gz |
test runners: Rules in tests should isolate staged artifacts
...that come with installing just. This ensures control on the
subdirectories available to the runner, avoiding any possible
conflicting paths.
Diffstat (limited to 'test/end-to-end/with_serve_test_runner.py')
-rwxr-xr-x | test/end-to-end/with_serve_test_runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/end-to-end/with_serve_test_runner.py b/test/end-to-end/with_serve_test_runner.py index a7e7861b..4cdac21e 100755 --- a/test/end-to-end/with_serve_test_runner.py +++ b/test/end-to-end/with_serve_test_runner.py @@ -96,7 +96,7 @@ if not standalone_serve: os.remove(REMOTE_INFO) remote_cmd = [ - "./bin/just", + "./staged/bin/just", "execute", "-L", json.dumps(["env", "PATH=" + PATH]), @@ -248,7 +248,7 @@ with open(SERVE_CONFIG_FILE, "w") as f: servestdout = open("servestdout", "w") servestderr = open("servestderr", "w") serve_proc = subprocess.Popen( - ["./bin/just", "serve", SERVE_CONFIG_FILE], + ["./staged/bin/just", "serve", SERVE_CONFIG_FILE], stdout=servestdout, stderr=servestderr, ) |