From 17a4e0475da1237168c4c14dd18af4ebe0d4b3d1 Mon Sep 17 00:00:00 2001 From: Heschi Kreinick Date: Mon, 18 Jun 2018 17:09:37 -0400 Subject: [PATCH] runtime: skip gdb tests on mips after DWARF compression DWARF compression appears to break GDB on mips for reasons unknown. Skip the GDB tests there. Fixes #25939. Change-Id: Id76860d3a2ff8055999ac12ea891c37565bb6685 Reviewed-on: https://go-review.googlesource.com/119539 Run-TryBot: Heschi Kreinick TryBot-Result: Gobot Gobot Reviewed-by: Austin Clements --- src/runtime/runtime-gdb_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go index 3f936b15b3..4733efba6d 100644 --- a/src/runtime/runtime-gdb_test.go +++ b/src/runtime/runtime-gdb_test.go @@ -33,6 +33,9 @@ func checkGdbEnvironment(t *testing.T) { if runtime.GOARCH == "ppc64" { t.Skip("skipping gdb tests on linux/ppc64; see golang.org/issue/17366") } + if runtime.GOARCH == "mips" { + t.Skip("skipping gdb tests on linux/mips; see https://golang.org/issue/25939") + } } if final := os.Getenv("GOROOT_FINAL"); final != "" && runtime.GOROOT() != final { t.Skip("gdb test can fail with GOROOT_FINAL pending") -- 2.51.0