]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: disable TestSetPanicOnFault for dragonfly/386
authorJoel Sing <jsing@google.com>
Thu, 27 Feb 2014 16:26:26 +0000 (03:26 +1100)
committerJoel Sing <jsing@google.com>
Thu, 27 Feb 2014 16:26:26 +0000 (03:26 +1100)
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

src/pkg/runtime/runtime_test.go

index 83489480da69f723e2f0e36e5601cc51542c1bf8..9aca68e1a123035a8c6dec936d4ddade9afb6016 100644 (file)
@@ -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)