]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: revise skip sequence added in CL 452763
authorThan McIntosh <thanm@google.com>
Tue, 22 Nov 2022 17:06:53 +0000 (12:06 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 22 Nov 2022 18:14:44 +0000 (18:14 +0000)
commit793f1a13f74bbc767525f138ae78faacda59b44c
tree0b02f59b441dce2b343fb881ed7f4bc04a8bd6c3
parent7a00f973a557fa8b5294652382a6280ddb196c1e
cmd/dist: revise skip sequence added in CL 452763

Revise the code added in CL 452763 that skips some of the -race tests
on older windows builders. The old-style skip was doing a log.Printf,
which wound up being interpreted in "-list" mode. Fix is to pass in a
special rtPreFunc when registering the test (thanks Austin for the
fix suggestion).

Updates #56904.

Change-Id: Ia6ea31fb7f011b539173f47357ab3bf7389f256d
Reviewed-on: https://go-review.googlesource.com/c/go/+/452769
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Than McIntosh <thanm@google.com>
src/cmd/dist/test.go