1
0
mirror of https://github.com/golang/go synced 2024-11-25 19:57:56 -07:00

cmd/go: temporarily disable build JSON in test output

Unfortunately, this is tripping up the LUCI test output processor, so
we need to disable it until we can figure that out.

For #70402.
Updates #62067.

Cq-Include-Trybots: luci.golang.try:gotip-darwin-arm64_13,gotip-linux-amd64-longtest
Change-Id: I9ae722218e98b8060b8b4c46358f23381ac8537a
Reviewed-on: https://go-review.googlesource.com/c/go/+/628955
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
Austin Clements 2024-11-17 22:41:03 -05:00 committed by Cherry Mui
parent 90b1dc0192
commit 3ca78afb3b
2 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,6 @@ package test
import (
"cmd/go/internal/base"
"cmd/go/internal/cfg"
"cmd/go/internal/cmdflag"
"cmd/go/internal/work"
"errors"
@ -355,7 +354,8 @@ func testFlags(args []string) (packageNames, passToTest []string) {
delete(addFromGOFLAGS, "v")
delete(addFromGOFLAGS, "test.v")
cfg.BuildJSON = true
// TODO(austin,#70402): Re-enable this once LUCI can handle build JSON in the test stream.
//cfg.BuildJSON = true
}
// Inject flags from GOFLAGS before the explicit command-line arguments.

View File

@ -1,3 +1,6 @@
# TODO(austin,#70402)
skip
[short] skip
# Test a build error directly in a test file.