From: Rahul Chaudhry Date: Thu, 13 Aug 2015 22:39:43 +0000 (-0700) Subject: cmd/go: make "go test" recognize -exec flag again. X-Git-Tag: go1.5~1^2~19 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5bf1369c9ba09df6df2fbd3b8221f22b1d52d2ee;p=gostls13.git 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 --- 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},