]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/cgo/internal/testshared: disable gccgo tests on PPC64
authorPaul E. Murphy <murp@ibm.com>
Fri, 16 Jun 2023 17:20:41 +0000 (12:20 -0500)
committerPaul Murphy <murp@ibm.com>
Fri, 16 Jun 2023 18:29:54 +0000 (18:29 +0000)
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>
src/cmd/cgo/internal/testshared/shared_test.go

index 84c92fca80440f3007dc9d13d04bb2bcf856974c..796c46b9bf742caf8e6c39375a158fdcd6aca83a 100644 (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"