mirror of
https://github.com/golang/go.git
synced 2025-10-19 19:13:18 +00:00
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 <khr@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
parent
326e5e1b7a
commit
ff9da9bcd5
1 changed files with 1 additions and 0 deletions
1
src/cmd/dist/test.go
vendored
1
src/cmd/dist/test.go
vendored
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue