From 8c777066cb7d4ef8a39bd03f3d76b45e0a4810f4 Mon Sep 17 00:00:00 2001 From: Dmitriy Vyukov Date: Sat, 14 Jul 2012 15:46:53 +0400 Subject: [PATCH] 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 --- src/run.bash | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/run.bash b/src/run.bash index ca84b7034d3..8e373ed6b13 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