diff options
author | Dave Cheney <dave@cheney.net> | 2012-11-15 11:40:10 +1100 |
---|---|---|
committer | Dave Cheney <dave@cheney.net> | 2012-11-15 11:40:10 +1100 |
commit | 972b20bd8ee454f2575ef95527b0dd40fec069f4 (patch) | |
tree | 06f3566b5cb567e074a0cf189c145c8f84140cf7 /src/run.rc | |
parent | 02d5f0c99942cf7022cd7faa65e403053706eaeb (diff) | |
download | go-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-x | src/run.rc | 2 |
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 |