From 56ae9032b23b089100e0e9c762f0e6326ec6990a Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Mon, 27 Feb 2012 12:33:14 -0500 Subject: [PATCH] cmd/go: test -i should not disable -c Fixes #3104. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5699088 --- src/cmd/go/test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cmd/go/test.go b/src/cmd/go/test.go index a84013f209..137cb6572b 100644 --- a/src/cmd/go/test.go +++ b/src/cmd/go/test.go @@ -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 -- 2.50.0