]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: skip gdb tests on mips after DWARF compression
authorHeschi Kreinick <heschi@google.com>
Mon, 18 Jun 2018 21:09:37 +0000 (17:09 -0400)
committerHeschi Kreinick <heschi@google.com>
Mon, 18 Jun 2018 22:03:17 +0000 (22:03 +0000)
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 <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/runtime-gdb_test.go

index 3f936b15b3bb1ab9e0bc7913a85fc2c394dbee3d..4733efba6d85606e3080ee275f07731298c8c0c5 100644 (file)
@@ -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")