]> Cypherpunks repositories - gostls13.git/commitdiff
src: pass GO_GCFLAGS down to go test std
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 24 Sep 2014 19:42:47 +0000 (12:42 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 24 Sep 2014 19:42:47 +0000 (12:42 -0700)
Update #8725

LGTM=rsc, josharian
R=rsc, josharian
CC=golang-codereviews
https://golang.org/cl/149000043

src/run.bash

index d6e53304d895fd790ffad0d2c80ee14c581e9daa..4966cf1aa6f086bd7184db15ef9a1d9d66ea2489 100755 (executable)
@@ -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,