Commit 19740b5 1 parent 4ea7d69 commit 19740b5 Copy full SHA for 19740b5
File tree 2 files changed +4
-3
lines changed
main/java/com/google/devtools/build/lib/sandbox
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ abstract class AbstractSandboxSpawnRunner implements SpawnRunner {
62
62
private static final int LOCAL_EXEC_ERROR = -1 ;
63
63
64
64
private static final String SANDBOX_DEBUG_SUGGESTION =
65
- "\n \n Use --sandbox_debug to see verbose messages from the sandbox" ;
65
+ "\n \n Use --sandbox_debug to see verbose messages from the sandbox "
66
+ + "and retain the sandbox build root for debugging" ;
66
67
67
68
private final SandboxOptions sandboxOptions ;
68
69
private final boolean verboseFailures ;
Original file line number Diff line number Diff line change @@ -727,13 +727,13 @@ genrule(
727
727
EOF
728
728
bazel build --verbose_failures :broken & > $TEST_log \
729
729
&& fail " build should have failed" || true
730
- expect_log " Use --sandbox_debug to see verbose messages from the sandbox"
730
+ expect_log " Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging "
731
731
expect_log " Executing genrule //:broken failed"
732
732
733
733
bazel build --verbose_failures --sandbox_debug :broken & > $TEST_log \
734
734
&& fail " build should have failed" || true
735
735
expect_log " Executing genrule //:broken failed"
736
- expect_not_log " Use --sandbox_debug to see verbose messages from the sandbox"
736
+ expect_not_log " Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging "
737
737
# This will appear a lot in the sandbox failure details.
738
738
expect_log " /sandbox/" # Part of the path to the sandbox location.
739
739
}
You can’t perform that action at this time.
0 commit comments