]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: remove redundant 'go test -race' call
authorBryan C. Mills <bcmills@google.com>
Tue, 19 Nov 2019 19:29:10 +0000 (14:29 -0500)
committerBryan C. Mills <bcmills@google.com>
Tue, 19 Nov 2019 19:59:21 +0000 (19:59 +0000)
commit8b1e8a424afb5d1c347653cc016a94e91cb1318b
tree856aed72e86c92b58cd9a02ed00d35773a7cb57a
parent66dd20845675a70e75e8ef04ea14e85a6870b228
cmd/dist: remove redundant 'go test -race' call

In CL 207962, I removed a seemingly-redundant -i flag. As it turns
out, the -i flag has *two* meanings: “install dependencies”, and “do
not actually run the test”. Without the flag, we omit the former
behavior, but add the latter.

We're about to run specific tests from these binaries on the very next
line, so don't preemptively run all of the tests.

Updates #30316

Change-Id: Ie3d8a37dc5f6bd98c232b308b0a6a165b5d82f7c
Reviewed-on: https://go-review.googlesource.com/c/go/+/207966
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/dist/test.go