[tools] go/packages: skip TestCompiledGoFilesIncludesDepsErrors without cgo

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Jun 26, 2026, 2:34:15 PM (yesterday) Jun 26
to David du Colombier, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, golang...@luci-project-accounts.iam.gserviceaccount.com, Alan Donovan, Michael Matloob, Michael Matloob, Richard Miller, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

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
Reviewed-by: Alan Donovan <adon...@google.com>
Auto-Submit: Alan Donovan <adon...@google.com>
Reviewed-by: Michael Matloob <mat...@google.com>
Reviewed-by: Michael Matloob <mat...@golang.org>
Files:
  • M go/packages/packages_test.go
Change size: XS
Delta: 1 file changed, 1 insertion(+), 0 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I2e6e2c514cadbc0ace9778ad0e93a3d7b3f3abca
Gerrit-Change-Number: 794842
Gerrit-PatchSet: 2
Gerrit-Owner: David du Colombier <0in...@gmail.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@google.com>
Gerrit-Reviewer: Richard Miller <millerr...@gmail.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages