]> Cypherpunks repositories - gostls13.git/commit
cmd/go: enable vet directive analyzer during 'go test'
authorRuss Cox <rsc@golang.org>
Mon, 30 Jan 2023 19:23:48 +0000 (14:23 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 23 Feb 2023 10:55:24 +0000 (10:55 +0000)
commit6af9635fb8a002f563a1765f7ab2bd97d4e4d4df
tree0f8dd33465c99d9319c23e4d876aaf4cd602c094
parentd54aeeeea3327a760856fdc280c742b853684f47
cmd/go: enable vet directive analyzer during 'go test'

For #56986, run the new directive analyzer during 'go test',
to diagnose problems that would otherwise be missed,
like //go:debug appearing in the wrong place in a file
or in the wrong files.

Change-Id: I1ac230c3c67e58b5e584128e0ec6ff482cb225f9
Reviewed-on: https://go-review.googlesource.com/c/go/+/464135
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/test/test.go