]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: drop remaining conditions on default cgo tests
authorAustin Clements <austin@google.com>
Wed, 17 May 2023 20:02:06 +0000 (16:02 -0400)
committerAustin Clements <austin@google.com>
Fri, 19 May 2023 01:37:38 +0000 (01:37 +0000)
commit3ebbaf3a4dbde6f0298978f502f5058fb0e9e948
treed76ae2dfaf80b4acdc68e9c5f7c32b2ee7da970f
parentcbd3305f8c7452963b7a1b4db001776b76370ae4
cmd/dist: drop remaining conditions on default cgo tests

Currently, dist registers cmd/cgo/internal{test,testtls,testnocgo}
specially, so they're opted out of "go test std cmd". It has to
register these test packages to run in various non-default build
configurations, but at this point they can also run with the default
build configuration (and for test and testtls, we intentionally want
to test them in the default configuration; this is pointless but
harmless for testnocgo). Hence, this CL drops the special registration
of their default build configurations from registerCgoTests and lets
them be registered as part of registerStdTests.

Change-Id: Id283f3cdcdb202955a854648c0ed1e3c4aa554d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/496179
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/cmd/dist/test.go