aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime-gdb_test.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2016-12-02 23:27:02 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2016-12-03 17:25:26 +0000
commit93726522ef2c403b7df8945892b641098ef9f803 (patch)
tree6f2573fdacbdc5e6212464cecdd73f139a8cd800 /src/runtime/runtime-gdb_test.go
parente7a0df35b3b9d3fe2a84ef0ea186fdc6c203e318 (diff)
downloadgo-93726522ef2c403b7df8945892b641098ef9f803.tar.xz
runtime: skip GDB tests on mips64
Updates #18173 Change-Id: I4c667c89ba3bf16433a4cef7cb01054f1798667d Reviewed-on: https://go-review.googlesource.com/33892 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/runtime-gdb_test.go')
-rw-r--r--src/runtime/runtime-gdb_test.go19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go
index 94ba879ed1..c2844375f7 100644
--- a/src/runtime/runtime-gdb_test.go
+++ b/src/runtime/runtime-gdb_test.go
@@ -85,6 +85,10 @@ func main() {
`
func TestGdbPython(t *testing.T) {
+ if runtime.GOARCH == "mips64" {
+ testenv.SkipFlaky(t, 18173)
+ }
+
t.Parallel()
checkGdbEnvironment(t)
checkGdbVersion(t)
@@ -220,13 +224,16 @@ func main() {
// TestGdbBacktrace tests that gdb can unwind the stack correctly
// using only the DWARF debug info.
func TestGdbBacktrace(t *testing.T) {
- t.Parallel()
- checkGdbEnvironment(t)
- checkGdbVersion(t)
-
if runtime.GOOS == "netbsd" {
testenv.SkipFlaky(t, 15603)
}
+ if runtime.GOARCH == "mips64" {
+ testenv.SkipFlaky(t, 18173)
+ }
+
+ t.Parallel()
+ checkGdbEnvironment(t)
+ checkGdbVersion(t)
dir, err := ioutil.TempDir("", "go-build")
if err != nil {
@@ -294,6 +301,10 @@ func main() {
// TestGdbAutotmpTypes ensures that types of autotmp variables appear in .debug_info
// See bug #17830.
func TestGdbAutotmpTypes(t *testing.T) {
+ if runtime.GOARCH == "mips64" {
+ testenv.SkipFlaky(t, 18173)
+ }
+
t.Parallel()
checkGdbEnvironment(t)
checkGdbVersion(t)