]> Cypherpunks repositories - gostls13.git/commit
cmd/go: shorten longest 5 tests
authorRuss Cox <rsc@golang.org>
Tue, 20 Jun 2023 14:58:26 +0000 (10:58 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 21 Jun 2023 14:58:44 +0000 (14:58 +0000)
commit36edde9d9f811477e1d5bd0090f4a061ba823db9
tree6c5234840cc2fc588424b2a7f36e8e63a6766868
parent413e6c0499cfc29a0306ebc27160eca32882089c
cmd/go: shorten longest 5 tests

Running go test -parallel=1 -v, these are the top 10 tests:

PASS: TestScript/mod_invalid_version 40.14s
PASS: TestScript/build_cache_output 46.82s
PASS: TestScript/get_legacy 48.69s
PASS: TestTestCache 58.44s
PASS: TestScript/mod_get_direct 62.88s
PASS: TestScript/build_pgo_auto_multi 63.49s
PASS: TestScript/build_pgo_auto 70.69s
PASS: TestScript/gcflags_patterns 95.17s
PASS: TestScript/mod_list_compiled_concurrent 124.31s
PASS: TestScript/vet_flags 202.85s

Change the top 5 not to run builds at all, so they don't
have to use -a or clear the go build cache.

mod_get_direct should be replaced with a vcs-test test.
mod_invalid_version should be replaced with a vcs-test test.
get_legacy should be deleted eventually.

Change-Id: Id67c458b1a96c912d89cbece341372c2ef5ee082
Reviewed-on: https://go-review.googlesource.com/c/go/+/504536
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/testdata/script/build_pgo_auto.txt
src/cmd/go/testdata/script/build_pgo_auto_multi.txt
src/cmd/go/testdata/script/gcflags_patterns.txt
src/cmd/go/testdata/script/mod_list_compiled_concurrent.txt
src/cmd/go/testdata/script/vet_flags.txt