aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2023-01-10 15:59:12 -0500
committerGopher Robot <gobot@golang.org>2023-01-19 20:46:11 +0000
commitc16c2c49e2fa98ae551fc6335215fadd62d33542 (patch)
tree511f11dd7b86afa615fbed3ec8c4d4484194046e /src/runtime
parent2f8f51724ad2a3509603d53d8a850f9146e4016f (diff)
downloadgo-c16c2c49e2fa98ae551fc6335215fadd62d33542.tar.xz
cmd/go: shorten TestScript/test_shuffle and skip it in short mode
test_shuffle was added in CL 310033. It takes about 4½ seconds on my workstation prior to this CL, most of which is spent linking and running test binaries in 'go test'. We can reduce that time somewhat (to 3¾ seconds) by simply running the test fewer times (cases of 'off', 'on', positive, zero, and negative values seem sufficient), but we should also avoid that linking overhead at all in short mode. Fixes #57709. Change-Id: I908a70435ccfb1ca16ed23aec17512bf2b267b21 Reviewed-on: https://go-review.googlesource.com/c/go/+/461455 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions