From: Dmitriy Vyukov Date: Wed, 7 Aug 2013 20:04:28 +0000 (+0400) Subject: runtime: do not run TestCgoSignalDeadlock on windows in short mode X-Git-Tag: go1.2rc2~738 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1590abef0371ffa5b37a760b7cde74e2d5f18d2f;p=gostls13.git 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 --- diff --git a/src/pkg/runtime/crash_cgo_test.go b/src/pkg/runtime/crash_cgo_test.go index 8ccea8f37c..d61de4469f 100644 --- a/src/pkg/runtime/crash_cgo_test.go +++ b/src/pkg/runtime/crash_cgo_test.go @@ -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 {