]> Cypherpunks repositories - gostls13.git/commit
cmd/go: build errors rather than strings in some tests
authorIan Lance Taylor <iant@golang.org>
Mon, 20 Jul 2015 15:30:45 +0000 (08:30 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 20 Jul 2015 15:57:05 +0000 (15:57 +0000)
commitb9a3e5979d6d085f11aae63f44d82ef50356033d
tree5accd389d33c0a7f24bbf8493ad28135585730d5
parentf35868a49a6b337806faf49824c6dba1870c2649
cmd/go: build errors rather than strings in some tests

Speed up the test suite by building the errors package rather than the
strings package in some cases where the specific package we are
building doesn't matter.  The errors package is smaller, and doesn't
have any assembler code.

Also make a couple of tests run in parallel.

Update #11779.

Change-Id: I62e47f8655f9d85bf93c70ae6e6121276d96aee0
Reviewed-on: https://go-review.googlesource.com/12365
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_test.go