From 4e70813985c2487f3602193cbb0cc76ce345602b Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 23 Oct 2023 14:25:23 +0200 Subject: test end-to-end: Expose the serve build root in the test environment This will allow end-to-end tests to pre-populate the serve build root if needed. --- test/end-to-end/with_serve_test_runner.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 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 15490d9f..2782b7ed 100755 --- a/test/end-to-end/with_serve_test_runner.py +++ b/test/end-to-end/with_serve_test_runner.py @@ -210,12 +210,14 @@ SERVE_ADDRESS = get_remote_execution_address(serve_info) # run the actual test -ENV = dict(os.environ, - TEST_TMPDIR=TEMP_DIR, - TMPDIR=TEMP_DIR, - REMOTE_EXECUTION_ADDRESS=g_REMOTE_EXECUTION_ADDRESS, - SERVE=SERVE_ADDRESS, - **repos_env) +ENV = dict( + os.environ, + TEST_TMPDIR=TEMP_DIR, + TMPDIR=TEMP_DIR, + REMOTE_EXECUTION_ADDRESS=g_REMOTE_EXECUTION_ADDRESS, + SERVE=SERVE_ADDRESS, + SERVE_LBR=SERVE_LBR, # expose the serve build root to the test env + **repos_env) if "COMPATIBLE" in ENV: del ENV["COMPATIBLE"] -- cgit v1.2.3