diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-12-20 12:41:12 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-12-20 17:14:53 +0100 |
commit | 450bac21b48d70d95865db3874da0b760f1eb93f (patch) | |
tree | 694ba74df701c48068518c2ce6b49a03eeb381cc /test/end-to-end/with_serve_test_runner.py | |
parent | 0d361155bb3ca4539be9282908598f9ea2610fdb (diff) | |
download | justbuild-450bac21b48d70d95865db3874da0b760f1eb93f.tar.gz |
test: Serve endpoint provides tc value for cache misses
During the analysis of export targets, if there is a local target
cache miss, we should also interrogate the serve endpoint
(if given) for the target cache value before proceeding with the
analysis.
For this test we have extended the "with_serve" runner to expose
also the remote-execution build root to the test env.
Diffstat (limited to 'test/end-to-end/with_serve_test_runner.py')
-rwxr-xr-x | test/end-to-end/with_serve_test_runner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/end-to-end/with_serve_test_runner.py b/test/end-to-end/with_serve_test_runner.py index b76aefd9..6176c876 100755 --- a/test/end-to-end/with_serve_test_runner.py +++ b/test/end-to-end/with_serve_test_runner.py @@ -226,6 +226,7 @@ ENV = dict( TEST_TMPDIR=TEMP_DIR, TMPDIR=TEMP_DIR, REMOTE_EXECUTION_ADDRESS=g_REMOTE_EXECUTION_ADDRESS, + REMOTE_LBR=REMOTE_LBR, # expose the execution build root to the test env SERVE=SERVE_ADDRESS, SERVE_LBR=SERVE_LBR, # expose the serve build root to the test env **repos_env) |