]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: re-enable crash test on FreeBSD
authorMikio Hara <mikioh.mikioh@gmail.com>
Fri, 9 Nov 2012 01:05:46 +0000 (10:05 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Fri, 9 Nov 2012 01:05:46 +0000 (10:05 +0900)
It also passes on FreeBSD.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6812103

src/pkg/runtime/crash_test.go

index 0abc531537376b67de0578706544fb5ec0bd76be..bc6b89feed0f9d9cea595fa4e2741e091680358b 100644 (file)
@@ -9,7 +9,6 @@ import (
        "os"
        "os/exec"
        "path/filepath"
-       "runtime"
        "testing"
        "text/template"
 )
@@ -22,12 +21,6 @@ type crashTest struct {
 // both main (m0) and non-main threads (m).
 
 func testCrashHandler(t *testing.T, ct *crashTest) {
-       if runtime.GOOS == "freebsd" {
-               // TODO(brainman): do not know why this test fails on freebsd
-               t.Logf("skipping test on %q", runtime.GOOS)
-               return
-       }
-
        st := template.Must(template.New("crashSource").Parse(crashSource))
 
        dir, err := ioutil.TempDir("", "go-build")