1
0
mirror of https://github.com/golang/go synced 2024-11-23 07:40:04 -07:00

cmd/cgo/internal/testshared: disable gccgo tests on PPC64

Disable PPC64 gccgo tests until issue #60798 is fixed in gcc.

Change-Id: I4d330e3d0ab6d4174ee6d8ff2cbedf53c8c4e3d9
Reviewed-on: https://go-review.googlesource.com/c/go/+/504095
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
This commit is contained in:
Paul E. Murphy 2023-06-16 12:20:41 -05:00 committed by Paul Murphy
parent 23c5e48c4a
commit 9ece9a7ac9

View File

@ -731,6 +731,10 @@ func TestThreeGopathShlibs(t *testing.T) {
func requireGccgo(t *testing.T) {
t.Helper()
if runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" {
t.Skip("gccgo test skipped on PPC64 until issue #60798 is resolved")
}
gccgoName := os.Getenv("GCCGO")
if gccgoName == "" {
gccgoName = "gccgo"