misc/cgo: correct GOOS in skip message

Tests are skipped on linux/ppc64, not aix/ppc64.

Change-Id: I6b91b89f24d76b0f9be3eaf816f81ad4246e418f
Reviewed-on: https://go-review.googlesource.com/c/go/+/220423
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Tobias Klauser 2020-01-30 10:59:11 +01:00 committed by Tobias Klauser
parent 151ccd4bdb
commit 87c0db9916
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ func requireTestSOSupported(t *testing.T) {
}
case "ppc64":
if runtime.GOOS == "linux" {
t.Skip("External linking not implemented on aix/ppc64 (issue #8912).")
t.Skip("External linking not implemented on linux/ppc64 (issue #8912).")
}
}
if runtime.GOOS == "android" {

View File

@ -26,7 +26,7 @@ func requireTestSOSupported(t *testing.T) {
}
case "ppc64":
if runtime.GOOS == "linux" {
t.Skip("External linking not implemented on aix/ppc64 (issue #8912).")
t.Skip("External linking not implemented on linux/ppc64 (issue #8912).")
}
}
if runtime.GOOS == "android" {