diff options
| author | Michael Anthony Knyszek <mknyszek@google.com> | 2025-09-11 23:50:00 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-09-15 15:38:29 -0700 |
| commit | 9e71d8a9f7b7ff0ec2f86f4b38dd7c0fa53ad328 (patch) | |
| tree | 1779b4a1e94a613394473d3ba77e6114b34b66af /src/cmd/internal | |
| parent | 004858ccddb2f092d3413e96ba8526a8df8e3906 (diff) | |
| download | go-9e71d8a9f7b7ff0ec2f86f4b38dd7c0fa53ad328.tar.xz | |
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 <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>
Diffstat (limited to 'src/cmd/internal')
| -rw-r--r-- | src/cmd/internal/testdir/testdir_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 ( |
