aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/crash_cgo_test.go
diff options
context:
space:
mode:
authorClément Chigot <clement.chigot@atos.net>2019-02-21 10:14:46 +0100
committerIan Lance Taylor <iant@golang.org>2019-03-19 04:18:48 +0000
commit205d62d58b16afbb4e6232a0591e3e8f4153a591 (patch)
treea0d514aebb7dd56cfed95104d018d5d76c939cbd /src/runtime/crash_cgo_test.go
parent6f7bb2cab6c9ac6b6ec530a87ffc854d19335a15 (diff)
downloadgo-205d62d58b16afbb4e6232a0591e3e8f4153a591.tar.gz
go-205d62d58b16afbb4e6232a0591e3e8f4153a591.zip
runtime: disable pprof test with cgo on aix/ppc64
This commit disables new cgo pprof tests and adds an handler in sigtramp to refuse SIGPROF signal. Updates #28555 Change-Id: I152a871f8636e93328d411329104c6f023bd1691 Reviewed-on: https://go-review.googlesource.com/c/go/+/164013 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/crash_cgo_test.go')
-rw-r--r--src/runtime/crash_cgo_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go
index c1dd757797..e0c8955e7d 100644
--- a/src/runtime/crash_cgo_test.go
+++ b/src/runtime/crash_cgo_test.go
@@ -229,6 +229,9 @@ func TestCgoPanicDeadlock(t *testing.T) {
}
func TestCgoCCodeSIGPROF(t *testing.T) {
+ if runtime.GOOS == "aix" {
+ t.Skip("pprof not yet available on AIX (see golang.org/issue/28555)")
+ }
t.Parallel()
got := runTestProg(t, "testprogcgo", "CgoCCodeSIGPROF")
want := "OK\n"