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 | e128ffc317f28fa8665bd4347821c90a01fbdf2a (patch) | |
tree | cea347d0c9923411b3190cd6c256ecc17f4fe47c /src/run.bash | |
parent | c5c570bd6994deb16b1bf14a429ad6611bd2828d (diff) | |
download | go-e128ffc317f28fa8665bd4347821c90a01fbdf2a.tar.gz |
run.bash: explain why we set GOMAXPROCS for runtime test
Fixes issue 7459.
LGTM=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/71060044
Diffstat (limited to 'src/run.bash')
-rwxr-xr-x | src/run.bash | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/run.bash b/src/run.bash index a3eecff0f..8e8715cab 100755 --- a/src/run.bash +++ b/src/run.bash @@ -54,6 +54,8 @@ echo '# Testing packages.' time go test std -short -timeout=$(expr 120 \* $timeout_scale)s 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=$(expr 300 \* $timeout_scale)s -cpu=1,2,4 echo |