sweet: don't send cockroachdb build output to stdout/stderr

Currently the build for CockroachDB always sends its output to
stdout/stderr, and bazel absolutely loves to produce a firehose of
output. This is very annoying when just trying to run sweet yourself.

This change captures the output instead and only dumps it on error.

Change-Id: I445731d3169d02bcdcc6e6d2ba02c0b510e9b64f
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/613935
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
1 file changed