]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: skip testing packages without tests in short test mode
authorDmitri Shuralyov <dmitshur@golang.org>
Wed, 14 Jun 2023 00:14:26 +0000 (20:14 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 27 Jul 2023 17:32:21 +0000 (17:32 +0000)
commitd79ec708bdaf27933058551b2d24a1a8e569c0d1
tree52c01592891bf7bd945c521854da09e8286d19f4
parentd2ec964e9c1ec84aa2e4444783ed68018ae4d5e4
cmd/dist: skip testing packages without tests in short test mode

For short all.bash, we can keep the small speedup of 2-10 seconds by
skipping 'go test' on packages without tests. This is viable without
coverage loss since the Go release process is guaranteed to run long
tests for all first class ports.

For golang/go#60463.

Change-Id: Ib5a6bd357d757141bc8f1c1dec148a6565726587
Reviewed-on: https://go-review.googlesource.com/c/go/+/503115
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/dist/test.go