aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime-gdb_test.go
diff options
context:
space:
mode:
authorClément Chigot <chigot.c@gmail.com>2019-11-20 13:57:24 +0100
committerIan Lance Taylor <iant@golang.org>2019-11-20 15:16:17 +0000
commit9c6f6409ada8737bf159e7e8eb952f0541e89860 (patch)
tree49ab2160f1aef6cdbb79caa5d2aa47d7831d9c5d /src/runtime/runtime-gdb_test.go
parentee04dbf430de4343a3406253a132267bea38d3e6 (diff)
downloadgo-9c6f6409ada8737bf159e7e8eb952f0541e89860.tar.gz
go-9c6f6409ada8737bf159e7e8eb952f0541e89860.zip
runtime: disable GDB tests on AIX with -short
Since the new page allocator, AIX's GDB has trouble running Go programs. It does work but it can be really slow. Therefore, they are disable when tests are run with -short. Updates: #35710 Change-Id: Ibfc4bd2cd9714268f1fe172aaf32a73612e262d6 Reviewed-on: https://go-review.googlesource.com/c/go/+/207919 Run-TryBot: Ian Lance Taylor <iant@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.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go
index 8cbc7638ca..79b4621614 100644
--- a/src/runtime/runtime-gdb_test.go
+++ b/src/runtime/runtime-gdb_test.go
@@ -37,6 +37,10 @@ func checkGdbEnvironment(t *testing.T) {
}
case "freebsd":
t.Skip("skipping gdb tests on FreeBSD; see https://golang.org/issue/29508")
+ case "aix":
+ if testing.Short() {
+ t.Skip("skipping gdb tests on AIX; see https://golang.org/issue/35710")
+ }
}
if final := os.Getenv("GOROOT_FINAL"); final != "" && runtime.GOROOT() != final {
t.Skip("gdb test can fail with GOROOT_FINAL pending")