Make gotestsum verbosity configurable
@@ -408,7 +408,7 @@ function report_go_test() {
json="$(mktemp_with_extension "${ARTIFACTS}"/json_XXXXXXXX json)"
echo "Running go test with args: ${go_test_args[*]}"
# TODO(chizhg): change to `--format testname`?
- capture_output "${report}" gotestsum --format standard-verbose \
+ capture_output "${report}" gotestsum --format "${GO_TEST_VERBOSITY:-standard-verbose}" \
--junitfile "${xml}" --junitfile-testsuite-name relative --junitfile-testcase-classname relative \
--jsonfile "${json}" \
-- "${go_test_args[@]}"
