From 3ce6a4fb971491b58ec8157496a1f56348cc62c0 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 29 Oct 2014 00:02:29 -0400 Subject: [PATCH] runtime: fix windows build TBR=austin CC=golang-codereviews https://golang.org/cl/167820043 --- src/runtime/crash_cgo_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index 78779655877..5958ad89146 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) {