aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/blaze.cc
diff options
context:
space:
mode:
authorGravatar Yue Gan <yueg@google.com>2017-01-10 09:41:34 +0000
committerGravatar Marcel Hlopko <hlopko@google.com>2017-01-10 10:24:17 +0000
commit56bc3cbf0e87423e815422d1c6e02846af74c0bf (patch)
tree653b89bc7f0db623d9b2b8d3058da6a7efc97f76 /src/main/cpp/blaze.cc
parentdad51d8241f1d698e4a55b941b58506b44422307 (diff)
Gives 3 levels of sandbox error message under different flags.
1. no flag: only the direct reason is given (command execution termination status), and also the instruction to use "--verbose_failures" 2. flag "--verbose_failures": gives failed execution command and the instruction to use "--sandbox_debug --strategy" 3. flag "--verbose_failures --sandbox_debug": gives failed execution command, debugging message from sandboxing, and the instruction to use "--strategy" Also removes "cd <sandbox_path>" in given failed command, since debugging is only necessary with flag "--verbose_failures --sandbox_debug" and the path is already given in sandboxing debugging message. Addresses #2174. Fixes bazel_sandboxing_test.sh and bazel_test_test.sh for the new error message. -- PiperOrigin-RevId: 144058351 MOS_MIGRATED_REVID=144058351
Diffstat (limited to 'src/main/cpp/blaze.cc')
0 files changed, 0 insertions, 0 deletions