Commit e245ae75 authored by Mikio Hara's avatar Mikio Hara

runtime: re-enable crash test on FreeBSD

It also passes on FreeBSD.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6812103
parent 3e50372f
...@@ -9,7 +9,6 @@ import ( ...@@ -9,7 +9,6 @@ import (
"os" "os"
"os/exec" "os/exec"
"path/filepath" "path/filepath"
"runtime"
"testing" "testing"
"text/template" "text/template"
) )
...@@ -22,12 +21,6 @@ type crashTest struct { ...@@ -22,12 +21,6 @@ type crashTest struct {
// both main (m0) and non-main threads (m). // both main (m0) and non-main threads (m).
func testCrashHandler(t *testing.T, ct *crashTest) { 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)) st := template.Must(template.New("crashSource").Parse(crashSource))
dir, err := ioutil.TempDir("", "go-build") dir, err := ioutil.TempDir("", "go-build")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment