aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/crash_cgo_test.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2016-08-17 16:22:24 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2016-08-18 17:13:39 +0000
commit604efe128195c1fbb1d14cbd36bf681fcff723a3 (patch)
tree4935a56eecfc8cd5dac1b40d5fbd0f20f88caa05 /src/runtime/crash_cgo_test.go
parent021f2432131d9bdaa4e89592129a540324f9f22d (diff)
downloadgo-604efe128195c1fbb1d14cbd36bf681fcff723a3.tar.gz
go-604efe128195c1fbb1d14cbd36bf681fcff723a3.zip
runtime: disable TestCgoCallbackGC on FreeBSD
The trybot flakes are a nuisance. Updates #16396 Change-Id: I8202adb554391676ba82bca44d784c6a81bf2085 Reviewed-on: https://go-review.googlesource.com/27313 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/crash_cgo_test.go')
-rw-r--r--src/runtime/crash_cgo_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go
index 2504bd0f41..534b9f8b5a 100644
--- a/src/runtime/crash_cgo_test.go
+++ b/src/runtime/crash_cgo_test.go
@@ -42,8 +42,11 @@ func TestCgoTraceback(t *testing.T) {
}
func TestCgoCallbackGC(t *testing.T) {
- if runtime.GOOS == "plan9" || runtime.GOOS == "windows" {
+ switch runtime.GOOS {
+ case "plan9", "windows":
t.Skipf("no pthreads on %s", runtime.GOOS)
+ case "freebsd":
+ testenv.SkipFlaky(t, 16396)
}
if testing.Short() {
switch {