]> Cypherpunks repositories - gostls13.git/commit
cmd/go: ignore stderr from tool version checks
authorRuss Cox <rsc@golang.org>
Sun, 5 Nov 2017 21:31:24 +0000 (16:31 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 6 Nov 2017 20:17:17 +0000 (20:17 +0000)
commit5e48d2b62a4bf6f9ee11905f1c5f93da648df42f
tree8e6e0ebe6b8d04d60626c1e36d359695d486a556
parenteca28cc4f3ae13bfb5817419e801c8a61929bc2a
cmd/go: ignore stderr from tool version checks

There are multiple valid reasons a tool might print to stderr.
As long as we get the expected output on stdout, that's fine.

Fixes #22588.

Change-Id: I9c5d32da08288cb26dd575530a8257cd5f375367
Reviewed-on: https://go-review.googlesource.com/76017
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/go/go_test.go
src/cmd/go/internal/work/buildid.go