]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: make "go test" recognize -exec flag again.
authorRahul Chaudhry <rahulchaudhry@chromium.org>
Thu, 13 Aug 2015 22:39:43 +0000 (15:39 -0700)
committerRuss Cox <rsc@golang.org>
Sat, 15 Aug 2015 17:38:41 +0000 (17:38 +0000)
Fixes #12144.

Change-Id: I112c6517371215c9797db8f1dffca0f3047c39e3
Reviewed-on: https://go-review.googlesource.com/13633
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/testflag.go

index ee4ab187e0bef76aacb00a15df5b5581a9835709..1f3e3d316af5a8794e8746e6617d9a943a5fc3a3 100644 (file)
@@ -36,6 +36,7 @@ var testFlagDefn = []*testFlagSpec{
        {name: "cover", boolVar: &testCover},
        {name: "covermode"},
        {name: "coverpkg"},
+       {name: "exec"},
 
        // passed to 6.out, adding a "test." prefix to the name if necessary: -v becomes -test.v.
        {name: "bench", passToTest: true},