]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/testdir: re-enable default all codegen flag on linux-amd64
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 11 Sep 2025 23:50:00 +0000 (23:50 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 15 Sep 2025 22:38:29 +0000 (15:38 -0700)
This was limited to just the mainline linux-amd64 builder, but we don't
use that name anymore. Use the LUCI name instead, gotip-linux-amd64.

Change-Id: Ib4377ad336c529512d9939ff9dce0ea242528b74
Reviewed-on: https://go-review.googlesource.com/c/go/+/703136
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/cmd/internal/testdir/testdir_test.go

index 5781276afadba7ebb9a013f3d70875f6559949e5..c5aa91ba4732e716b33d95d65e1751fb554c03c6 100644 (file)
@@ -52,7 +52,7 @@ var (
 // the linux-amd64 builder that's already very fast, so we get more
 // test coverage on trybots. See https://go.dev/issue/34297.
 func defaultAllCodeGen() bool {
-       return os.Getenv("GO_BUILDER_NAME") == "linux-amd64"
+       return testenv.Builder() == "gotip-linux-amd64"
 }
 
 var (