diff options
author | Colin Cross <ccross@android.com> | 2021-04-15 18:50:11 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2021-04-16 14:55:12 -0700 |
commit | 4258a39bd155d3e776eb041ea7c1eff5e3c2495f (patch) | |
tree | 98c7786a72e6c7c2f4f1d51b19e10bd0fd3d5bfe /java/java_test.go | |
parent | fc2d842dfd35756867e942aa19800708c31683ed (diff) |
sbox: print failing command line before output
The full command line run inside sbox can be very long, and printing it
after the errors printed by the failing command can hide the error
messages. Buffer the output of the command and print the failing command
line before the output if it fails.
Bug: 185516277
Test: m out/soong/.intermediates/frameworks/base/system-api-stubs-docs-non-updatable/android_common/metalava/api_lint.timestamp with lint error
Change-Id: I893f3dd01f1baf195e182111c5c49e92eb82f3b0
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions