]> Cypherpunks repositories - gostls13.git/commit
cmd/go: restore "go list" exit code for missing binary packages
authorBryan C. Mills <bcmills@google.com>
Thu, 7 Jun 2018 16:50:21 +0000 (12:50 -0400)
committerBryan C. Mills <bcmills@google.com>
Thu, 7 Jun 2018 18:43:49 +0000 (18:43 +0000)
commit8cf579abf7151f9301daf9d2ee293de0320c16aa
tree6412ef1a58e8ea0d243384e8b7b5623c220a096c
parent7b08e619bb68a01b1d889aedd97f6c0e13a8c13b
cmd/go: restore "go list" exit code for missing binary packages

Prior to CL 108156, "go list" exited with code 0 if there were missing binary packages.
Restore that behavior to fix the failing TestBinaryOnlyPackages.

Fixes golang/go#25784.

Change-Id: Iaeca6bcc840f5ac8f2a016cef131f5c59a8261a8
Reviewed-on: https://go-review.googlesource.com/117036
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_test.go
src/cmd/go/internal/work/exec.go