From: Michael Anthony Knyszek Date: Thu, 11 Sep 2025 23:50:00 +0000 (+0000) Subject: cmd/internal/testdir: re-enable default all codegen flag on linux-amd64 X-Git-Tag: go1.26rc1~870 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9e71d8a9f7;p=gostls13.git cmd/internal/testdir: re-enable default all codegen flag on linux-amd64 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 Reviewed-by: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI --- diff --git a/src/cmd/internal/testdir/testdir_test.go b/src/cmd/internal/testdir/testdir_test.go index 5781276afa..c5aa91ba47 100644 --- a/src/cmd/internal/testdir/testdir_test.go +++ b/src/cmd/internal/testdir/testdir_test.go @@ -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 (