]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix -x output for test build failure
authorRuss Cox <rsc@golang.org>
Fri, 1 Dec 2017 15:45:49 +0000 (10:45 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 1 Dec 2017 19:47:30 +0000 (19:47 +0000)
commit4fb0af5d5391e5e5f8b47f425b5ceb17c3521a72
tree309624a4cb4f414d1d9b47d3e21b2bd4671cd99e
parent3716ba033774489553300086b126bd10c2b29f57
cmd/go: fix -x output for test build failure

If the build of the test binary failed, the go command correctly
avoided running the binary, but the -x output indicated otherwise.

Fixes #22659.

Change-Id: Ib4d262bf1735f057c994a45fc23c499d4ebe3246
Reviewed-on: https://go-review.googlesource.com/81495
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/go_test.go
src/cmd/go/internal/test/test.go