1
0
mirror of https://github.com/golang/go synced 2024-10-03 23:31:22 -06:00
go/src/cmd
Rob Pike 7d77e3117c gotest: another try at flags.
doc.go contains the details. The short story:
- command line is passed to the binary
- a new flag, -file, is needed to name files
- known flags have the "test." prefix added for convenience.
- gotest-specific flags are trimmed from the command line.

The effect should be that most existing uses are unaffected,
the ability to name files is still present, and it's nicer to use.
The downside is a lot more code in gotest.

Also allow a test to be called just Test.

R=rsc, niemeyer, rog, r2
CC=golang-dev
https://golang.org/cl/4307049
2011-03-30 21:14:49 -07:00
..
5a 5a, 5l: add LDREXD, STREXD 2011-02-25 01:03:54 -05:00
5c ld: detect stack overflow due to NOSPLIT 2011-02-22 17:40:40 -05:00
5g gc: diagnose unused labels 2011-03-15 14:05:37 -04:00
5l 5l/6l/8l: undo spadj cleanup at ARET for following instructions in the same stackframe. 2011-03-23 23:11:29 +01:00
6a gc, ld: detect stale or incompatible object files 2011-02-03 13:51:43 -05:00
6c gc, ld: detect stale or incompatible object files 2011-02-03 13:51:43 -05:00
6g gc: diagnose unused labels 2011-03-15 14:05:37 -04:00
6l 5l/6l/8l: undo spadj cleanup at ARET for following instructions in the same stackframe. 2011-03-23 23:11:29 +01:00
8a 8a, 8l: add CMPXCHG8B, XADDB, XADDL, XADDW 2011-02-25 01:04:29 -05:00
8c gc, ld: detect stale or incompatible object files 2011-02-03 13:51:43 -05:00
8g gc: diagnose unused labels 2011-03-15 14:05:37 -04:00
8l 5l/6l/8l: undo spadj cleanup at ARET for following instructions in the same stackframe. 2011-03-23 23:11:29 +01:00
cc runtime: generate Go defs for C types. 2011-01-31 12:27:28 +01:00
cgo go/scanner: return literal as string instead of []byte 2011-03-28 16:44:28 -07:00
cov various: avoid %ld etc 2010-10-13 16:20:22 -04:00
ebnflint path/filepath: new OS-specific path support 2011-03-06 17:33:23 -05:00
gc gc: remove interim ... error which rejects valid code. 2011-03-25 18:31:55 -07:00
godefs godefs: handle volatile 2011-03-23 11:33:53 -04:00
godoc godoc: remove errant space in HTML tag 2011-03-30 16:41:41 +11:00
gofix go/printer/gofmt: remove special case for multi-line raw strings 2011-03-29 18:30:59 -07:00
gofmt gofmt: add profiling flag 2011-03-23 14:28:38 -04:00
goinstall testing: set up structure for faster testing using the new -test.short flag. 2011-03-25 14:50:44 -07:00
gomake build: no required environment variables 2010-08-18 10:08:49 -04:00
gopack gopack: comment out debugging print 2011-03-30 22:41:32 -04:00
gotest gotest: another try at flags. 2011-03-30 21:14:49 -07:00
gotry gotry: move into its own directory, separate from gotest. 2011-03-29 13:00:24 -07:00
gotype gotype: support for more tests, added one new test 2011-03-30 15:27:23 -07:00
govet govet: fix bug introduced at 4313054 2011-03-29 13:18:52 -07:00
goyacc goyacc: clarify it's package, not binary, that has 2011-02-28 20:47:52 -08:00
hgpatch path/filepath: new OS-specific path support 2011-03-06 17:33:23 -05:00
ld ld: return > 0 exit code on unsafe import 2011-03-22 15:00:21 +11:00
nm nm: document -S flag 2011-03-08 13:04:30 -05:00
prof testing: add -test.cpuprofile flag 2011-03-23 18:17:14 -04:00
Makefile gotest: replace the shell script with the compiled program written in go. 2011-03-29 13:29:20 -07:00