mirror of https://github.com/golang/go.git
src: pass GO_GCFLAGS down to go test std
Update #8725 LGTM=rsc, josharian R=rsc, josharian CC=golang-codereviews https://golang.org/cl/149000043
This commit is contained in:
parent
00d2f916ad
commit
fb4e185a99
|
|
@ -52,7 +52,7 @@ timeout_scale=1
|
|||
[ "$GOARCH" == "arm" ] && timeout_scale=3
|
||||
|
||||
echo '# Testing packages.'
|
||||
time go test std -short -timeout=$(expr 120 \* $timeout_scale)s
|
||||
time go test std -short -timeout=$(expr 120 \* $timeout_scale)s -gcflags "$GO_GCFLAGS"
|
||||
echo
|
||||
|
||||
# We set GOMAXPROCS=2 in addition to -cpu=1,2,4 in order to test runtime bootstrap code,
|
||||
|
|
|
|||
Loading…
Reference in New Issue