]> Cypherpunks repositories - gostls13.git/commit
cmd/go: permit "go list" error in some tests
authorCherry Mui <cherryyz@google.com>
Mon, 20 Mar 2023 20:19:30 +0000 (16:19 -0400)
committerCherry Mui <cherryyz@google.com>
Wed, 22 Mar 2023 21:14:01 +0000 (21:14 +0000)
commit3d28e0ebb9411e7dbd8032b6071c4f5db823ebe9
treea355266c49dcf88fad71826058ff643530719377
parent65896f68fc347cb3734922c5dd3576156bf06a49
cmd/go: permit "go list" error in some tests

The vendor_import test lists packages that are known bad (e.g.
bad.go, invalid.go). Pass -e to permit error.

The mod_vendor_auto test includes a package that imports a main
package, which should be an error. Pass -e to permit error.

Updates #59186.

Change-Id: I3b63025c3935f55feda1a95151d4c688d0394644
Reviewed-on: https://go-review.googlesource.com/c/go/+/477838
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/cmd/go/testdata/script/mod_vendor_auto.txt
src/cmd/go/testdata/script/vendor_import.txt