]> Cypherpunks repositories - gostls13.git/commitdiff
build: add few tests with GOMAXPROCS=32 to run.bash
authorDmitriy Vyukov <dvyukov@google.com>
Sat, 14 Jul 2012 11:46:53 +0000 (15:46 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Sat, 14 Jul 2012 11:46:53 +0000 (15:46 +0400)
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

index ca84b7034d366c6ab95a719c35901edcf1510d1c..8e373ed6b13b22fe841c362394770a06c019dc0d 100755 (executable)
@@ -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