From 93726522ef2c403b7df8945892b641098ef9f803 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 2 Dec 2016 23:27:02 +0000 Subject: [PATCH] runtime: skip GDB tests on mips64 Updates #18173 Change-Id: I4c667c89ba3bf16433a4cef7cb01054f1798667d Reviewed-on: https://go-review.googlesource.com/33892 Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/runtime/runtime-gdb_test.go | 19 +++++++++++++++---- 1 file 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) -- 2.50.0