diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2012-07-14 15:46:53 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2012-07-14 15:46:53 +0400 |
| commit | 8c777066cb7d4ef8a39bd03f3d76b45e0a4810f4 (patch) | |
| tree | 2ee7009f336adb0ac45ff3eb949ee4f037597c7b /src/run.bash | |
| parent | bbe601789cf7526925192abe0a6bc7e7d9265588 (diff) | |
| download | go-8c777066cb7d4ef8a39bd03f3d76b45e0a4810f4.tar.xz | |
build: add few tests with GOMAXPROCS=32 to run.bash
Some class of bugs (data races, runtime bugs) can be found
only with real parallelism.
Note that GOMAXPROCS=32 is somewhat different from go test -cpu=32,
this intentionally uses GOMAXPROCS to stress program bootstrap,
testing code, garbage collections, etc.
Package selection is mostly random.
R=golang-dev, dave, r
CC=golang-dev
https://golang.org/cl/6346070
Diffstat (limited to 'src/run.bash')
| -rwxr-xr-x | src/run.bash | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/run.bash b/src/run.bash index ca84b7034d..8e373ed6b1 100755 --- a/src/run.bash +++ b/src/run.bash @@ -39,6 +39,11 @@ echo echo '# sync -cpu=10' go test sync -short -timeout=120s -cpu=10 +echo + +echo '# GOMAXPROCS=32 go test runtime net/http crypto/tls encoding/base64' +GOMAXPROCS=32 go test runtime net/http crypto/tls encoding/base64 +echo xcd() { echo |
