1
0
mirror of https://github.com/golang/go synced 2024-11-23 09:50:03 -07:00

runtime: disable GDB tests on freebsd/arm for now

Updates #29508
Updates #28679

Change-Id: I19bc9f88aeb2b1f3e69856173a00c5a4d5ed3613
Reviewed-on: https://go-review.googlesource.com/c/155932
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
This commit is contained in:
Brad Fitzpatrick 2019-01-02 18:53:23 +00:00
parent 2175177497
commit 1f035d036c

View File

@ -26,18 +26,22 @@ func checkGdbEnvironment(t *testing.T) {
case "darwin":
t.Skip("gdb does not work on darwin")
case "netbsd":
t.Skip("gdb does not work with threads on NetBSD; see golang.org/issue/22893 and gnats.netbsd.org/52548")
t.Skip("gdb does not work with threads on NetBSD; see https://golang.org/issue/22893 and https://gnats.netbsd.org/52548")
case "windows":
t.Skip("gdb tests fail on Windows: https://golang.org/issue/22687")
case "linux":
if runtime.GOARCH == "ppc64" {
t.Skip("skipping gdb tests on linux/ppc64; see golang.org/issue/17366")
t.Skip("skipping gdb tests on linux/ppc64; see https://golang.org/issue/17366")
}
if runtime.GOARCH == "mips" {
t.Skip("skipping gdb tests on linux/mips; see https://golang.org/issue/25939")
}
case "aix":
t.Skip("gdb does not work on AIX; see golang.org/issue/28558")
t.Skip("gdb does not work on AIX; see https://golang.org/issue/28558")
case "freebsd":
if runtime.GOARCH == "arm" {
t.Skip("skipping gdb tests on freebsd/arm; see https://golang.org/issue/29508")
}
}
if final := os.Getenv("GOROOT_FINAL"); final != "" && runtime.GOROOT() != final {
t.Skip("gdb test can fail with GOROOT_FINAL pending")