Commit 17190343 authored by Mikio Hara's avatar Mikio Hara

cmd/go: skip flaky TestCgoConsistentResults on FreeBSD

FreeBSD 11 or above uses clang-3.6 or higher by default.

Updates #15405.

Change-Id: If49ce298130165f9e1525c7fd0fd5aa39099ad53
Reviewed-on: https://go-review.googlesource.com/34675Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent d2512aff
...@@ -3357,9 +3357,11 @@ func TestCgoConsistentResults(t *testing.T) { ...@@ -3357,9 +3357,11 @@ func TestCgoConsistentResults(t *testing.T) {
if !canCgo { if !canCgo {
t.Skip("skipping because cgo not enabled") t.Skip("skipping because cgo not enabled")
} }
if runtime.GOOS == "solaris" { switch runtime.GOOS {
// See https://golang.org/issue/13247 case "freebsd":
t.Skip("skipping because Solaris builds are known to be inconsistent; see #13247") testenv.SkipFlaky(t, 15405)
case "solaris":
testenv.SkipFlaky(t, 13247)
} }
tg := testgo(t) tg := testgo(t)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment