Attention needed from Alan Donovan, Michael Matloob and Richard Miller
David du Colombier has uploaded the change for review![Open in Gerrit]()
David du Colombier would like Michael Matloob, Richard Miller and Alan Donovan to review this change.
Commit message
go/packages: skip TestCompiledGoFilesIncludesDepsErrors without cgo
TestCompiledGoFilesIncludesDepsErrors uses cgo to
produce a dependency error. Plan 9 does not support
cgo, so skip it when cgo is unavailable, like the
other cgo tests.
Change-Id: I2e6e2c514cadbc0ace9778ad0e93a3d7b3f3abca
Change diff
diff --git a/go/packages/packages_test.go b/go/packages/packages_test.go
index 7d6cffa..1e939a5 100644
--- a/go/packages/packages_test.go
+++ b/go/packages/packages_test.go
@@ -3573,6 +3573,7 @@
// See golang/go#78083.
func TestCompiledGoFilesIncludesDepsErrors(t *testing.T) {
testenv.NeedsGoPackages(t)
+ testenv.NeedsTool(t, "cgo")
dir := writeTree(t, `
-- go.mod --
Change information
Files:
- M go/packages/packages_test.go
Change size: XS
Delta: 1 file changed, 1 insertion(+), 0 deletions(-)
Open in GerritRelated details
Attention is currently required from:
- Alan Donovan
- Michael Matloob
- Richard Miller
Gerrit-MessageType: newchange
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I2e6e2c514cadbc0ace9778ad0e93a3d7b3f3abca
Gerrit-Change-Number: 794842
Gerrit-PatchSet: 1