summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2014-04-17 23:16:11 -0400
committerShenghou Ma <minux.ma@gmail.com>2014-04-17 23:16:11 -0400
commit46eb1b2e44b6ebaf21d1c95401e0adf53de08b3b (patch)
treed5ec97b4f7c6cf3d947853c596c61f9c67d05ebc
parent2892b371be22034cd4f734c4a16d90d854246f39 (diff)
downloadgo-46eb1b2e44b6ebaf21d1c95401e0adf53de08b3b.tar.gz
cmd/go: support -ccflags in 'go test'
Fixes issue 7810. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://codereview.appspot.com/89050043
-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 2b5f89ba5..adfc2d921 100644
--- a/src/cmd/go/testflag.go
+++ b/src/cmd/go/testflag.go
@@ -76,6 +76,7 @@ var testFlagDefn = []*testFlagSpec{
{name: "p"},
{name: "x", boolVar: &buildX},
{name: "work", boolVar: &buildWork},
+ {name: "ccflags"},
{name: "gcflags"},
{name: "exec"},
{name: "ldflags"},