1
0
mirror of https://github.com/golang/go synced 2024-09-30 12:28:35 -06:00
go/cmd
Dmitri Shuralyov 7da961ddcf cmd/godoc: convert tests to packagestest, cover third party packages
This change converts cmd/godoc tests to use the packagestest package
in its basic integration tests. For now, those tests continue to run
in GOPATH mode only. When module support is added to cmd/godoc, then
the same tests will be made to run in module mode too.

Previously, the basic integration test covered godoc functionality
on Go packages in GOROOT only. This change also adds some third
party packages to increase test coverage. This is easy to do with
the packagestest API.

Updates golang/go#33655

Change-Id: If3fce913140b81ed9340556d6bb4b963f5f98813
Reviewed-on: https://go-review.googlesource.com/c/tools/+/196981
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-09-29 03:02:02 +00:00
..
auth cmd/auth/cookieauth: add a GOAUTH implementation that reads from a cookiefile 2019-04-05 18:06:40 +00:00
benchcmp benchmark/parser, cmd/benchcmp: improve names of exported identifiers 2015-01-15 01:28:17 +00:00
bundle cmd/bundle: change the behavior of the -underscore flag 2018-12-01 03:58:26 +00:00
callgraph all: skip tests if required tools are not found 2019-08-30 15:40:57 +00:00
compilebench cmd/compilebench: add more linker benchmarking 2019-09-11 14:31:56 +00:00
cover all: do not write to testdata directories 2019-08-30 17:05:20 +00:00
digraph all: fix more typos 2019-09-11 15:13:14 +00:00
eg cmd/eg: Gofmt eg's dry-run output. 2017-07-13 04:09:46 +00:00
fiximports all: fix more typos 2019-09-11 15:13:14 +00:00
getgo cmd/getgo/server: update to go112 GAE runtime 2019-08-22 19:19:35 +00:00
go-contrib-init cmd/go-contrib-init: exit with an error if package install fails 2017-07-17 03:20:55 +00:00
godex x/tools: remove old renaming imports of go/constant as exact 2018-08-10 17:04:37 +00:00
godoc cmd/godoc: convert tests to packagestest, cover third party packages 2019-09-29 03:02:02 +00:00
goimports cmd/goimports: reuse cached state 2019-05-20 21:49:40 +00:00
gomvpkg cmd/gomvpkg: add missing closing double-quote to documentation 2018-05-22 18:16:25 +00:00
gopls internal/lsp: have tests report a different application name to the main gopls binary 2019-07-18 23:01:26 +00:00
gorename all: skip tests if required tools are not found 2019-08-30 15:40:57 +00:00
gotype gotype: fix default importer for Go 1.8. 2017-04-10 16:28:46 +00:00
goyacc cmd/goyacc: put //line annotations on the first column. 2018-09-26 03:27:08 +00:00
guru all: do not write to testdata directories 2019-08-30 17:05:20 +00:00
html2article x/tools/cmd/html2article: remove unused functions 2017-03-01 14:53:04 +00:00
present cmd/present: correct function reference. 2019-07-02 20:17:34 +00:00
splitdwarf cmd/splitdwarf: fix skip on Windows 2019-05-25 14:57:41 +00:00
ssadump go/ssa/ssautil: add AllPackages method 2018-10-15 18:41:29 +00:00
stress cmd/stress: prefix logs with start date/time 2018-11-27 19:52:27 +00:00
stringer all: fix more typos 2019-09-11 15:13:14 +00:00
toolstash cmd/toolstash: don't try comparing "asm -V=full" output. 2017-11-02 22:54:56 +00:00