summaryrefslogtreecommitdiff
path: root/src/run.rc
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2012-11-15 11:40:10 +1100
committerDave Cheney <dave@cheney.net>2012-11-15 11:40:10 +1100
commit972b20bd8ee454f2575ef95527b0dd40fec069f4 (patch)
tree06f3566b5cb567e074a0cf189c145c8f84140cf7 /src/run.rc
parent02d5f0c99942cf7022cd7faa65e403053706eaeb (diff)
downloadgo-972b20bd8ee454f2575ef95527b0dd40fec069f4.tar.gz
run.{bash,bat,rc}: unset GOMAXPROCS before ../test
test/run.go already executes tests in parallel where possible. An unknown GOMAXPROCS value during the tests is known to cause failures with tests that measure allocations. ref: https://groups.google.com/d/topic/golang-nuts/tgMhFJ3F5WY/discussion R=fullung, minux.ma, r CC=golang-dev http://codereview.appspot.com/6847050
Diffstat (limited to 'src/run.rc')
-rwxr-xr-xsrc/run.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run.rc b/src/run.rc
index af4929776..e70f5c696 100755
--- a/src/run.rc
+++ b/src/run.rc
@@ -43,7 +43,7 @@ go test ../test/bench/go1
@{
xcd ../test
- time go run run.go
+ GOMAXPROCS='' time go run run.go
}
echo