diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-10-23 12:01:11 +0200 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2023-11-15 20:19:18 +0100 |
commit | de02537d99e123f6ac75d03f8a8faeff3429f062 (patch) | |
tree | 3995e135309096ad2ae6cb9b03d9db0f37e5cf10 /test/end-to-end/with_serve_test_runner.py | |
parent | 40ed3ee050e0fc3d0f41fc46f7360d28b9a1f7cc (diff) | |
download | justbuild-de02537d99e123f6ac75d03f8a8faeff3429f062.tar.gz |
test end-to-end: Cleanup of with_serve runner Python script
Diffstat (limited to 'test/end-to-end/with_serve_test_runner.py')
-rwxr-xr-x | test/end-to-end/with_serve_test_runner.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/end-to-end/with_serve_test_runner.py b/test/end-to-end/with_serve_test_runner.py index 1ff8be54..15490d9f 100755 --- a/test/end-to-end/with_serve_test_runner.py +++ b/test/end-to-end/with_serve_test_runner.py @@ -72,6 +72,7 @@ REMOTE_LBR = os.path.join(REMOTE_DIR, "build-root") g_REMOTE_EXECUTION_ADDRESS: str = "" SERVE_DIR = os.path.realpath("serve") +os.makedirs(SERVE_DIR, exist_ok=True) SERVE_LBR = os.path.join(SERVE_DIR, "build-root") remote_proc = None @@ -112,11 +113,11 @@ with open(REMOTE_INFO) as f: g_REMOTE_EXECUTION_ADDRESS = get_remote_execution_address(info) # start just serve service -SERVE_INFO = os.path.join(REMOTE_DIR, "serve-info.json") -SERVE_CONFIG_FILE = os.path.join(REMOTE_DIR, "serve.json") +SERVE_INFO = os.path.join(SERVE_DIR, "serve-info.json") +SERVE_CONFIG_FILE = os.path.join(SERVE_DIR, "serve.json") serve_config: Json = { - "local build root": SERVE_DIR, + "local build root": SERVE_LBR, "logging": { "limit": 6, "plain": True |