diff options
author | Dmitriy Vyukov <dvyukov@google.com> | 2014-03-06 13:16:14 +0400 |
---|---|---|
committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-03-06 13:16:14 +0400 |
commit | 130458470a11d1f16908d7db7fe683b621541a36 (patch) | |
tree | 5386e5fd20e900a16780169c567dbb4e1785499c /src/run.rc | |
parent | 6f6db49de6dbc842ff4114939e6200af7213872d (diff) | |
download | go-130458470a11d1f16908d7db7fe683b621541a36.tar.gz go-130458470a11d1f16908d7db7fe683b621541a36.zip |
run.bash: explain why we set GOMAXPROCS for runtime test
Fixes #7459.
LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/71060044
Diffstat (limited to 'src/run.rc')
-rwxr-xr-x | src/run.rc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/run.rc b/src/run.rc index f9837d4fce..2613621556 100755 --- a/src/run.rc +++ b/src/run.rc @@ -32,6 +32,8 @@ echo '# Testing packages.' time go test std -short -timeout 120s echo +# We set GOMAXPROCS=2 in addition to -cpu=1,2,4 in order to test runtime bootstrap code, +# creation of first goroutines and first garbage collections in the parallel setting. echo '# GOMAXPROCS=2 runtime -cpu=1,2,4' GOMAXPROCS=2 go test runtime -short -timeout 240s -cpu 1,2,4 echo |