• Rob Pike's avatar
    gotest: another try at flags. · 7d77e311
    Rob Pike authored
    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
    7d77e311
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
cc Loading commit data...
cgo Loading commit data...
cov Loading commit data...
ebnflint Loading commit data...
gc Loading commit data...
godefs Loading commit data...
godoc Loading commit data...
gofix Loading commit data...
gofmt Loading commit data...
goinstall Loading commit data...
gomake Loading commit data...
gopack Loading commit data...
gotest Loading commit data...
gotry Loading commit data...
gotype Loading commit data...
govet Loading commit data...
goyacc Loading commit data...
hgpatch Loading commit data...
ld Loading commit data...
nm Loading commit data...
prof Loading commit data...
Makefile Loading commit data...