Descriptiongotest: 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.
Patch Set 1 #Patch Set 2 : diff -r 546b1fc95dcc https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 546b1fc95dcc https://go.googlecode.com/hg/ #
Total comments: 9
Patch Set 4 : diff -r 546b1fc95dcc https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 546b1fc95dcc https://go.googlecode.com/hg/ #
Total comments: 4
Patch Set 6 : diff -r d66e81de58a5 https://go.googlecode.com/hg/ #
Total comments: 3
Patch Set 7 : diff -r d66e81de58a5 https://go.googlecode.com/hg/ #
MessagesTotal messages: 13
|