]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix windows build
authorRuss Cox <rsc@golang.org>
Wed, 29 Oct 2014 04:02:29 +0000 (00:02 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 29 Oct 2014 04:02:29 +0000 (00:02 -0400)
TBR=austin
CC=golang-codereviews
https://golang.org/cl/167820043

src/runtime/crash_cgo_test.go

index 7877965587738af2b19e8aec53aab5d7735f0f10..5958ad8914637f9ddacc31b489638c0c8b7f0f3c 100644 (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) {