summaryrefslogtreecommitdiff
path: root/test/end-to-end/with_serve_test_runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/end-to-end/with_serve_test_runner.py')
-rwxr-xr-xtest/end-to-end/with_serve_test_runner.py7
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