From: Dmitri Shuralyov Date: Wed, 23 Jul 2025 18:01:42 +0000 (-0400) Subject: [release-branch.go1.23] cmd/go: skip known TestScript/build_trimpath_cgo failure... X-Git-Tag: go1.23.12~4 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6c9c80b61198430eedfd02c98d4f5baf8abd085e;p=gostls13.git [release-branch.go1.23] cmd/go: skip known TestScript/build_trimpath_cgo failure on darwin/arm64 The failure is understood. Skip the test since it's failing without producing new information. For #73922. Fixes #74721. Change-Id: I339882e1a9772255b185a33daf8dee97f764f830 Reviewed-on: https://go-review.googlesource.com/c/go/+/689917 TryBot-Bypass: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov Reviewed-by: Michael Matloob Reviewed-by: Michael Knyszek --- diff --git a/src/cmd/go/testdata/script/build_trimpath_cgo.txt b/src/cmd/go/testdata/script/build_trimpath_cgo.txt index 528982442d..cc96aa8fd6 100644 --- a/src/cmd/go/testdata/script/build_trimpath_cgo.txt +++ b/src/cmd/go/testdata/script/build_trimpath_cgo.txt @@ -10,6 +10,7 @@ # Check that the source path appears when -trimpath is not used. go build -o hello.exe . grep -q gopath[/\\]src hello.exe +[GOOS:darwin] [GOARCH:arm64] stop 'on darwin/arm64, the rest of this test can''t work without a Go 1.24+ fix for a debug/macho problem; see go.dev/issue/73922' go run ./list-dwarf hello.exe stdout gopath[/\\]src