diff options
author | 2018-05-25 07:50:28 -0700 | |
---|---|---|
committer | 2018-05-25 07:51:50 -0700 | |
commit | 79b2c1699d5e332d5e571e425452a34332ed43b3 (patch) | |
tree | d607cfb6acc9f9168be5736495fdbdf2e5e5a58c /src/test/java | |
parent | 585418dca70e29dbe478a6095be2c1c97e24d596 (diff) |
Fix build and run of RealSandboxfsProcessTest.
https://github.com/bazelbuild/bazel/commit/56d1b1c3122a3d1ec111baab339631b8c42c2c31 changed the signature of SandboxfsProcess#mount() to take a
PathFragment instead of a Path, and this broke the build of the test above.
Given that the test is marked as manual, this was not caught by CI.
Further, the test was failing to link in the test runner class, so it
would not execute properly. The missing dependency was incorrectly removed
by unknown commit because it had been specified as a deps instead of a
runtime_deps.
RELNOTES: None.
PiperOrigin-RevId: 198048748
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/sandbox/RealSandboxfsProcessTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/sandbox/RealSandboxfsProcessTest.java b/src/test/java/com/google/devtools/build/lib/sandbox/RealSandboxfsProcessTest.java index ffce1d2539..2739d92109 100644 --- a/src/test/java/com/google/devtools/build/lib/sandbox/RealSandboxfsProcessTest.java +++ b/src/test/java/com/google/devtools/build/lib/sandbox/RealSandboxfsProcessTest.java @@ -54,6 +54,7 @@ public class RealSandboxfsProcessTest extends BaseSandboxfsProcessTest { if (!sandboxfs.isExecutable()) { fail("SANDBOXFS must point to an executable binary"); } - return RealSandboxfsProcess.mount(sandboxfs, mountPoint, fileSystem.getPath("/dev/stderr")); + return RealSandboxfsProcess.mount( + sandboxfs.asFragment(), mountPoint, fileSystem.getPath("/dev/stderr")); } } |