diff options
author | 2018-02-21 14:20:15 -0800 | |
---|---|---|
committer | 2018-02-21 14:22:05 -0800 | |
commit | 485ee4020787306da5760d4aacf4531d4bcb0101 (patch) | |
tree | 07909d4e6333d5b99d61b02bfa920c8fe78c97f0 | |
parent | 29d96b8a0c6bad6aa432a934bcaf271c553bff3e (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
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java | 1 |
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) { |