]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: disable TestCgoCallbackGC on FreeBSD
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 17 Aug 2016 23:22:24 +0000 (16:22 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 18 Aug 2016 17:13:39 +0000 (17:13 +0000)
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>
src/runtime/crash_cgo_test.go

index 2504bd0f415509d2cb68a73f9be846df416b7204..534b9f8b5a07568160c74247c3d54efd0f1a4495 100644 (file)
@@ -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 {