From: Clément Chigot Date: Thu, 1 Apr 2021 08:06:05 +0000 (+0200) Subject: runtime/pprof: skip tests for AIX X-Git-Tag: go1.17beta1~862 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7bfd681c2f11918c6245ad2906b2efc12eda2914;p=gostls13.git runtime/pprof: skip tests for AIX Most of the time, the pprof tests are passing, except for the builder. The reason is still unknown but I'd rather release the builder to avoid missing other more important bugs. Updates #45170 Change-Id: I667543ee1ae309b7319c5b3676a0901b4d0ecf2e Reviewed-on: https://go-review.googlesource.com/c/go/+/306489 Run-TryBot: Tobias Klauser TryBot-Result: Go Bot Reviewed-by: Cherry Zhang Trust: Lynn Boger --- diff --git a/src/runtime/pprof/pprof_test.go b/src/runtime/pprof/pprof_test.go index 1b86dbff5b..e6b4d0044d 100644 --- a/src/runtime/pprof/pprof_test.go +++ b/src/runtime/pprof/pprof_test.go @@ -276,7 +276,8 @@ func testCPUProfile(t *testing.T, matches matchFunc, need []string, avoid []stri broken := false switch runtime.GOOS { - case "ios", "dragonfly", "netbsd", "illumos", "solaris": + // See https://golang.org/issue/45170 for AIX. + case "ios", "dragonfly", "netbsd", "illumos", "solaris", "aix": broken = true case "openbsd": if runtime.GOARCH == "arm" || runtime.GOARCH == "arm64" {