From: Russ Cox Date: Wed, 29 Oct 2014 04:02:29 +0000 (-0400) Subject: runtime: fix windows build X-Git-Tag: go1.4beta1~11 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3ce6a4fb971491b58ec8157496a1f56348cc62c0;p=gostls13.git runtime: fix windows build TBR=austin CC=golang-codereviews https://golang.org/cl/167820043 --- diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index 7877965587..5958ad8914 100644 --- a/src/runtime/crash_cgo_test.go +++ b/src/runtime/crash_cgo_test.go @@ -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) {