aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2014-09-24 12:42:47 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2014-09-24 12:42:47 -0700
commitfb4e185a99f3e93bc1bbe08a09ebfd5419409d48 (patch)
tree2204fe21f1ec2545dd65bed87f096f18aba6c0b0 /src/run.bash
parent00d2f916adf2fb025406f0558ab8cac122fdf060 (diff)
downloadgo-fb4e185a99f3e93bc1bbe08a09ebfd5419409d48.tar.gz
go-fb4e185a99f3e93bc1bbe08a09ebfd5419409d48.zip
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
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run.bash b/src/run.bash
index d6e53304d8..4966cf1aa6 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -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,