1
0
mirror of https://github.com/golang/go synced 2024-10-01 09:38:36 -06:00
go/cmd
Alan Donovan 8636f40baf go.tools/ssa: CreateTestMainPackage: synthesize test driver as a package ("testmain") not 'main' function.
This allows us to run/analyze multiple tests.
Also it causes the production code packages to be properly initialized.

Also:
- cmd/ssadump: improved usage message (add example;
  incorporate LoadInitialPackages usage; explain how -run
  finds main).
- pointer, oracle, ssa/interp: use CreateTestMainPackage.
- ssa/builder.go: remove 'rundefers' instruction from package init,
  which no longer uses 'defer'.

R=gri
CC=golang-dev
https://golang.org/cl/15920047
2013-10-23 18:07:53 -04:00
..
cover go.tools/cmd/cover: for range loops might contain function literals 2013-10-11 10:32:36 -07:00
godoc go.tools/cmd/godoc: search go.tools/cmd before $GOROOT/cmd 2013-10-18 10:42:41 +09:00
gotype go.tools/cmd/gotype: use go/types identifier resolution 2013-09-30 12:59:02 -07:00
html2article go.tools/cmd/html2article: move command from go.blog repository 2013-09-27 10:40:53 +10:00
oracle go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
ssadump go.tools/ssa: CreateTestMainPackage: synthesize test driver as a package ("testmain") not 'main' function. 2013-10-23 18:07:53 -04:00
vet go.tools/go/types: nil is not a constant + misc. cleanups 2013-10-09 14:17:25 -07:00