Albert Strasheim
4235fa8f2a
runtime, runtime/debug, runtime/race: deflake tests
...
R=golang-dev, dvyukov, bradfitz
CC=golang-dev
https://golang.org/cl/8366044
2013-04-07 11:37:37 -07:00
Dmitriy Vyukov
2fe840f4f6
runtime: fix false positive deadlock when using runtime.Goexit
...
Fixes #4893 .
Actually it's fixed by cl/7314062 (improved scheduler),
just submitting the test.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7422054
2013-03-05 09:40:17 +02:00
Dmitriy Vyukov
01a5b66d95
runtime: deadlock tests now work with GOMAXPROCS>1
...
Fixes #4826 .
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7434046
2013-03-02 10:41:53 +04:00
Shenghou Ma
6ecb39fce6
cmd/go: fix "go run" cgo source when cgo is disabled
...
also move a cgo-depend test to appropriate source file in runtime.
R=golang-dev, dave, adg, rsc
CC=golang-dev
https://golang.org/cl/7393063
2013-02-28 16:07:26 +08:00
Dmitriy Vyukov
4eb7ba743d
runtime/cgo: fix deadlock involving signals on darwin
...
sigprocmask() is process-wide on darwin, so two concurrent
libcgo_sys_thread_start() can result in all signals permanently
blocked, which in particular blocks handling of nil derefs.
Fixes #4833 .
R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/7324058
2013-02-25 16:36:29 -05:00
Dmitriy Vyukov
06a488fa97
runtime: fix deadlock detector false negative
...
Fixes #4819 .
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7322086
2013-02-20 12:15:02 +04:00
Mikio Hara
e245ae7501
runtime: re-enable crash test on FreeBSD
...
It also passes on FreeBSD.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6812103
2012-11-09 10:05:46 +09:00
Joel Sing
4e75d2c7d5
runtime: re-enable crash test on NetBSD
...
Re-enable the crash tests on NetBSD now that the issue has been
identified and fixed.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6813100
2012-11-09 03:41:43 +11:00
Joel Sing
b60d45f5b8
runtime: disable crash handler test on netbsd
...
Disable the crash handler test on NetBSD until I can figure out why
it triggers failures in later tests.
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/6460090
2012-08-16 02:02:00 +10:00
Alex Brainman
994cdcea18
runtime: disable new TestCrashHandle on freebsd to fix build
...
R=golang-dev
CC=golang-dev
https://golang.org/cl/6256069
2012-05-30 16:41:15 +10:00
Alex Brainman
afe0e97aa6
runtime: handle windows exceptions, even in cgo programs
...
Fixes #3543 .
R=golang-dev, kardianos, rsc
CC=golang-dev, hectorchu, vcc.163
https://golang.org/cl/6245063
2012-05-30 15:10:54 +10:00