mirror of
https://github.com/golang/go
synced 2024-11-19 03:24:40 -07:00
runtime: fix windows build
TBR=austin CC=golang-codereviews https://golang.org/cl/167820043
This commit is contained in:
parent
260028fc0e
commit
3ce6a4fb97
@ -36,6 +36,9 @@ func TestCgoTraceback(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestCgoExternalThreadPanic(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)
|
got := executeTest(t, cgoExternalThreadPanicSource, nil, "main.c", cgoExternalThreadPanicC)
|
||||||
want := "panic: BOOM"
|
want := "panic: BOOM"
|
||||||
if !strings.Contains(got, want) {
|
if !strings.Contains(got, want) {
|
||||||
|
Loading…
Reference in New Issue
Block a user