1
0
mirror of https://github.com/golang/go synced 2024-11-19 05:24:42 -07:00

runtime: fix windows build

TBR=austin
CC=golang-codereviews
https://golang.org/cl/167820043
This commit is contained in:
Russ Cox 2014-10-29 00:02:29 -04:00
parent 260028fc0e
commit 3ce6a4fb97

View File

@ -36,6 +36,9 @@ func TestCgoTraceback(t *testing.T) {
} }
func TestCgoExternalThreadPanic(t *testing.T) { func TestCgoExternalThreadPanic(t *testing.T) {
if runtime.GOOS == "windows" || runtime.GOOS == "plan9" {
t.Skipf("no pthreads on %s", runtime.GOOS)
}
got := executeTest(t, cgoExternalThreadPanicSource, nil, "main.c", cgoExternalThreadPanicC) got := executeTest(t, cgoExternalThreadPanicSource, nil, "main.c", cgoExternalThreadPanicC)
want := "panic: BOOM" want := "panic: BOOM"
if !strings.Contains(got, want) { if !strings.Contains(got, want) {