aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorRémy Oudompheng <oudomphe@phare.normalesup.org>2012-03-05 16:40:27 -0500
committerRuss Cox <rsc@golang.org>2012-03-05 16:40:27 -0500
commitaa1aaee7fd96a76e595add58b9889b4cd6703d3a (patch)
tree5acb6660fcdc1a8c7bc204adde4c6d2c4a3dca89 /src/run.bash
parent610b5b2fd8a31ac3855088a0ea2aece8d88d7521 (diff)
downloadgo-aa1aaee7fd96a76e595add58b9889b4cd6703d3a.tar.xz
runtime: wait for main goroutine before setting GOMAXPROCS.
Fixes #3182. R=golang-dev, dvyukov, rsc CC=golang-dev, remy https://golang.org/cl/5732057
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run.bash b/src/run.bash
index fd3b1f27b7..fdbf47663b 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -26,8 +26,8 @@ echo '# Testing packages.'
time go test std -short -timeout=120s
echo
-echo '# runtime -cpu=1,2,4'
-go test runtime -short -timeout=120s -cpu=1,2,4
+echo '# GOMAXPROCS=2 runtime -cpu=1,2,4'
+GOMAXPROCS=2 go test runtime -short -timeout=120s -cpu=1,2,4
echo
echo '# sync -cpu=10'