1
0
mirror of https://github.com/golang/go synced 2024-11-22 19:14:53 -07:00

runtime: do not run TestCgoSignalDeadlock on windows in short mode

The test takes up to 64 seconds on windows builders.
I've tried to reduce number of iterations in the test,
but it does not affect run time.
Fixes #6054.

R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/12531043
This commit is contained in:
Dmitriy Vyukov 2013-08-08 00:04:28 +04:00
parent 73c93a404c
commit 1590abef03

View File

@ -7,6 +7,7 @@
package runtime_test
import (
"runtime"
"testing"
)
@ -15,6 +16,9 @@ func TestCgoCrashHandler(t *testing.T) {
}
func TestCgoSignalDeadlock(t *testing.T) {
if testing.Short() && runtime.GOOS == "windows" {
t.Skip("Skipping in short mode") // takes up to 64 seconds
}
got := executeTest(t, cgoSignalDeadlockSource, nil)
want := "OK\n"
if got != want {