mirror of
https://github.com/golang/go
synced 2024-11-19 16:04:48 -07:00
cmd/go: small code reorganization
covermode is not passed to 6.out, so it should not be grouped with the flags that are. Move it to the "local" section. Change-Id: Id487898962e7ab7adf98b0854c2f1802116bec11 Reviewed-on: https://go-review.googlesource.com/8132 Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
parent
2f7ad5265c
commit
4ec7e76a74
@ -30,6 +30,7 @@ var testFlagDefn = []*testFlagSpec{
|
||||
// local.
|
||||
{name: "c", boolVar: &testC},
|
||||
{name: "cover", boolVar: &testCover},
|
||||
{name: "covermode"},
|
||||
{name: "coverpkg"},
|
||||
{name: "o"},
|
||||
|
||||
@ -53,7 +54,6 @@ var testFlagDefn = []*testFlagSpec{
|
||||
{name: "bench", passToTest: true},
|
||||
{name: "benchmem", boolVar: new(bool), passToTest: true},
|
||||
{name: "benchtime", passToTest: true},
|
||||
{name: "covermode"},
|
||||
{name: "coverprofile", passToTest: true},
|
||||
{name: "cpu", passToTest: true},
|
||||
{name: "cpuprofile", passToTest: true},
|
||||
|
Loading…
Reference in New Issue
Block a user