1
0
mirror of https://github.com/golang/go synced 2024-11-12 01:10:21 -07:00

cmd/go: test -i should not disable -c

Fixes #3104.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5699088
This commit is contained in:
Shenghou Ma 2012-02-27 12:33:14 -05:00 committed by Russ Cox
parent eb825b58cc
commit 56ae9032b2

View File

@ -299,7 +299,10 @@ func runTest(cmd *Command, args []string) {
a.deps = append(a.deps, b.action(modeInstall, modeInstall, p))
}
b.do(a)
return
if !testC {
return
}
b.init()
}
var builds, runs, prints []*action