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) {
if runtime.GOOS == "windows" || runtime.GOOS == "plan9" {
t.Skipf("no pthreads on %s", runtime.GOOS)
}
got := executeTest(t, cgoExternalThreadPanicSource, nil, "main.c", cgoExternalThreadPanicC)
want := "panic: BOOM"
if !strings.Contains(got, want) {