From de02537d99e123f6ac75d03f8a8faeff3429f062 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 23 Oct 2023 12:01:11 +0200 Subject: test end-to-end: Cleanup of with_serve runner Python script --- test/end-to-end/with_serve_test_runner.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/end-to-end/with_serve_test_runner.py') 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 -- cgit v1.2.3