diff options
author | Russ Cox <rsc@golang.org> | 2014-10-29 00:02:29 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-10-29 00:02:29 -0400 |
commit | 3ce6a4fb971491b58ec8157496a1f56348cc62c0 (patch) | |
tree | 9edb2abeba868ab1979208f0077ed84d87a35230 | |
parent | 260028fc0e55e47b66d9c21d7a703bec0066fd52 (diff) | |
download | go-3ce6a4fb971491b58ec8157496a1f56348cc62c0.tar.gz go-3ce6a4fb971491b58ec8157496a1f56348cc62c0.zip |
runtime: fix windows build
TBR=austin
CC=golang-codereviews
https://golang.org/cl/167820043
-rw-r--r-- | src/runtime/crash_cgo_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |