]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: consolidate runtime CPU tests
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 25 Apr 2015 00:06:52 +0000 (17:06 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Apr 2015 17:36:18 +0000 (17:36 +0000)
commita9e50a6b358df2e725157128c140684264c8ed38
tree6de9d523edff8677a5c60dbf79b4437c91e8b9a1
parent2692f48330da001903bc74210cec5ff27fe663c2
cmd/dist: consolidate runtime CPU tests

Instead of running:

go test -short runtime -cpu=1
go test -short runtime -cpu=2
go test -short runtime -cpu=4

Run just:

go test -short runtime -cpu=1,2,4

This is a return to the Go 1.4.2 behavior.

We lose incremental display of progress and
per-cpu timing information, but we don't have
to recompile and relink the runtime test,
which is slow.

This cuts about 10s off all.bash.

Updates #10571.

Change-Id: I6e8c7149780d47439f8bcfa888e6efc84290c60a
Reviewed-on: https://go-review.googlesource.com/9350
Reviewed-by: Dave Cheney <dave@cheney.net>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
src/cmd/dist/test.go