Skip to content

Commit

Permalink
runtime/pprof: skip tests for AIX
Browse files Browse the repository at this point in the history
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 <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Trust: Lynn Boger <laboger@linux.vnet.ibm.com>
  • Loading branch information
Helflym authored and tklauser committed Apr 4, 2021
1 parent 776d8d3 commit 7bfd681
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/pprof/pprof_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 7bfd681

Please sign in to comment.