aboutsummaryrefslogtreecommitdiff
path: root/src/testing/example_loop_test.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2024-12-13 15:36:47 -0500
committerAustin Clements <austin@google.com>2024-12-13 15:07:27 -0800
commite39e965e0e0cce65ca977fd0da35f5bfb68dc2b8 (patch)
tree0b6d640394966c85de35ec5d6189f9110a939f64 /src/testing/example_loop_test.go
parent08770a5b944ba1cf4f62f075bfd94cd36a061bdb (diff)
downloadgo-e39e965e0e0cce65ca977fd0da35f5bfb68dc2b8.tar.xz
cmd/go: drop FailedBuild field if gotestjsonbuildtext=1
go test -json has two new effects in Go 1.24: it implies go build -json, and it adds a FailedBuild field in test events. For compatibility, CL 629335 added gotestjsonbuildtext=1, which disables the implicit go build -json, but that CL didn't affect the FailedBuild field. In principle this shouldn't matter because it's just another JSON field, but just so we don't have to worry about some intermediate behavior, this CL makes gotestjsonbuildtext=1 disable the FailedBuild field as well. Updates #62067 Updates #70402 Change-Id: I006d1ea0468980ee2564495324e8b4ed082898af Reviewed-on: https://go-review.googlesource.com/c/go/+/635899 Auto-Submit: Austin Clements <austin@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/testing/example_loop_test.go')
0 files changed, 0 insertions, 0 deletions