]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: actually disable testso and testsovar on ppc64
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 13 Jul 2015 03:20:12 +0000 (15:20 +1200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 13 Jul 2015 04:11:39 +0000 (04:11 +0000)
This is clearly what was intended all along. ./all.bash passes with this
change.

Change-Id: I16996da11cf1e4d2dc2a4434b7611a724691e8dc
Reviewed-on: https://go-review.googlesource.com/12068
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/dist/test.go

index 8d7b6f8807795226d686a6e6df04929b6f06c30a..0f2c9a6f6a740935ca384a3e1445437dac3ab093 100644 (file)
@@ -734,7 +734,7 @@ func (t *tester) cgoTestSOSupported() bool {
                // No exec facility on Android or iOS.
                return false
        }
-       if t.goos == "ppc64le" || t.goos == "ppc64" {
+       if t.goarch == "ppc64le" || t.goarch == "ppc64" {
                // External linking not implemented on ppc64 (issue #8912).
                return false
        }