]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: skip GDB tests on mips64
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 2 Dec 2016 23:27:02 +0000 (23:27 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 3 Dec 2016 17:25:26 +0000 (17:25 +0000)
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>
src/runtime/runtime-gdb_test.go

index 94ba879ed12a88e6a67df4316da1209a7ed75369..c2844375f7ac98472e64a8c9f47ccdf85b6fb5a2 100644 (file)
@@ -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)