From c2499c406d0727853ea0ddc5372a50be95de5515 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 27 Feb 2018 05:47:21 -0800 Subject: Expose --output_user_base to the Bazel server process ...so that it can use that path to compute other directories in the output user base, in particular the default location for caches. The first cache we will add is the hash-index cache for downloads of external archives, but a spawn cache might be added later in the output user base as well. Change-Id: I24b1c33235c8f76ec008ecb1789163de2b2a45be PiperOrigin-RevId: 187164275 --- .../build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java') diff --git a/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java b/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java index 0d9e7ba8fd..32a0879040 100644 --- a/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java +++ b/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java @@ -132,7 +132,10 @@ public class BlazeCommandDispatcherRcoptionsTest { public final void initializeRuntime() throws Exception { String productName = TestConstants.PRODUCT_NAME; ServerDirectories serverDirectories = - new ServerDirectories(scratch.dir("install_base"), scratch.dir("output_base")); + new ServerDirectories( + scratch.dir("install_base"), + scratch.dir("output_base"), + scratch.dir("user_output_root")); this.runtime = new BlazeRuntime.Builder() .setFileSystem(scratch.getFileSystem()) -- cgit v1.2.3