From: khr@golang.org Date: Tue, 20 May 2025 15:42:24 +0000 (-0700) Subject: cmd/dist: pass GO_GCFLAGS to cpuN runtime tests X-Git-Tag: go1.25rc1~206 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ff9da9bcd579a08cf9ca62620c5956676ac28586;p=gostls13.git cmd/dist: pass GO_GCFLAGS to cpuN runtime tests We want gcflags, which control builder type (e.g. noopt) to be used for these tests also. Should fix noopt and maybe other builders. Change-Id: Iad34beab51714f0c38989ec0fc8778cf79087f72 Reviewed-on: https://go-review.googlesource.com/c/go/+/674455 Reviewed-by: Keith Randall Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov --- diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index d335e4cfbc..ae1f5db534 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -952,6 +952,7 @@ func (t *tester) registerTests() { variant: "cpu" + strconv.Itoa(i), timeout: 300 * time.Second, cpu: strconv.Itoa(i), + gcflags: gogcflags, short: true, testFlags: []string{"-quick"}, // We set GOMAXPROCS=2 in addition to -cpu=1,2,4 in order to test runtime bootstrap code,