mirror of
https://github.com/golang/go
synced 2024-11-05 18:36:08 +00:00
runtime: fix windows build
TBR=austin CC=golang-codereviews https://golang.org/cl/167820043
This commit is contained in:
parent
260028fc0e
commit
3ce6a4fb97
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue