]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: restrict parallel tests to NumCPU on mips64x
authorYao Zhang <lunaria21@gmail.com>
Sun, 10 Jan 2016 03:22:58 +0000 (22:22 -0500)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 10 Jan 2016 06:18:22 +0000 (06:18 +0000)
commit30919fe978fccae450ea5c4ff8c4019f240d2d1e
treea09d49629d1c29c9a4a6831f2673a63e496e1591
parent9ee72f424c83c07e53fde15e5eba9e4b6b02dee4
cmd/dist: restrict parallel tests to NumCPU on mips64x

mips64 builder and one machine of the mips64le builder has small amount
of memory. Since CL 18199, they have been running slowly, as more
processes were launched in running 'test' directory, and a lot of swap
were used. This CL brings all.bash from 5h back to 3h on Loongson 2E
with 512 MB memory.

Change-Id: I4a22e239a542a99ba5986753205d8cd1f4b3d3c6
Reviewed-on: https://go-review.googlesource.com/18483
Reviewed-by: Minux Ma <minux@golang.org>
Run-TryBot: Minux Ma <minux@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/dist/util.go