aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@google.com>2014-02-28 03:26:26 +1100
committerJoel Sing <jsing@google.com>2014-02-28 03:26:26 +1100
commit0b0e209ffb937f283cdca8b51efadc78cc93f8a1 (patch)
tree51123f37446d743e738974b9bac37d3757ad56fb
parentf50a87058b6773f277d139b9c85ad421b92620d2 (diff)
downloadgo-0b0e209ffb937f283cdca8b51efadc78cc93f8a1.tar.xz
runtime: disable TestSetPanicOnFault for dragonfly/386
This test currently deadlocks on dragonfly/386. Update #7421 LGTM=minux.ma R=golang-codereviews, minux.ma CC=golang-codereviews https://golang.org/cl/69380043
-rw-r--r--src/pkg/runtime/runtime_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime_test.go b/src/pkg/runtime/runtime_test.go
index 83489480da..9aca68e1a1 100644
--- a/src/pkg/runtime/runtime_test.go
+++ b/src/pkg/runtime/runtime_test.go
@@ -135,6 +135,12 @@ func TestStopCPUProfilingWithProfilerOff(t *testing.T) {
}
func TestSetPanicOnFault(t *testing.T) {
+ // This currently results in a fault in the signal trampoline on
+ // dragonfly/386 - see issue 7421.
+ if GOOS == "dragonfly" && GOARCH == "386" {
+ t.Skip("skipping test on dragonfly/386")
+ }
+
old := debug.SetPanicOnFault(true)
defer debug.SetPanicOnFault(old)