aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/remote
diff options
context:
space:
mode:
authorGravatar olaola <olaola@google.com>2018-02-21 14:20:15 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-02-21 14:22:05 -0800
commit485ee4020787306da5760d4aacf4531d4bcb0101 (patch)
tree07909d4e6333d5b99d61b02bfa920c8fe78c97f0 /src/main/java/com/google/devtools/build/lib/remote
parent29d96b8a0c6bad6aa432a934bcaf271c553bff3e (diff)
Bugfix: spawn output directories are not passed to remote execution.
This bug was invisible to out tests, because our RemoteWorker will work regardless of whether the output was listed as a file or as a directory. TESTED=same tests RELNOTES: None PiperOrigin-RevId: 186518904
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote')
-rw-r--r--src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java
index 91b59186d8..0d0ae9a9e5 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java
+++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java
@@ -286,6 +286,7 @@ class RemoteSpawnRunner implements SpawnRunner {
Collections.sort(outputPaths);
Collections.sort(outputDirectoryPaths);
action.addAllOutputFiles(outputPaths);
+ action.addAllOutputDirectories(outputDirectoryPaths);
// Get the remote platform properties.
if (executionPlatform != null) {