aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Chaudhry <rahulchaudhry@chromium.org>2015-08-13 15:39:43 -0700
committerRuss Cox <rsc@golang.org>2015-08-15 17:38:41 +0000
commit5bf1369c9ba09df6df2fbd3b8221f22b1d52d2ee (patch)
tree458ee02a7e2c494e83d5ceb8ee87572194621ec1
parente97ab0a0acec9281dbca086d99d965100a196100 (diff)
downloadgo-5bf1369c9ba09df6df2fbd3b8221f22b1d52d2ee.tar.gz
go-5bf1369c9ba09df6df2fbd3b8221f22b1d52d2ee.zip
cmd/go: make "go test" recognize -exec flag again.
Fixes #12144. Change-Id: I112c6517371215c9797db8f1dffca0f3047c39e3 Reviewed-on: https://go-review.googlesource.com/13633 Reviewed-by: Russ Cox <rsc@golang.org>
-rw-r--r--src/cmd/go/testflag.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/go/testflag.go b/src/cmd/go/testflag.go
index ee4ab187e0..1f3e3d316a 100644
--- a/src/cmd/go/testflag.go
+++ b/src/cmd/go/testflag.go
@@ -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},