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 | 36c4a73fb2aa9f9665c71f563a3e8125c29223e2 (patch) | |
tree | 1a627346bb8ae624c07db8f7c7e1abb6d4b5c905 /src/run.rc | |
parent | 45b4867d0edabb5f2f8ee07d5f5e9b53f9f4dbe0 (diff) | |
download | go-36c4a73fb2aa9f9665c71f563a3e8125c29223e2.tar.gz go-36c4a73fb2aa9f9665c71f563a3e8125c29223e2.zip |
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
https://golang.org/cl/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 af49297766..e70f5c6966 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 |