Skip to content

Commit 9c6f640

Browse files
Helflymianlancetaylor
authored andcommitted
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 <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent ee04dbf commit 9c6f640

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/runtime/runtime-gdb_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ func checkGdbEnvironment(t *testing.T) {
3737
}
3838
case "freebsd":
3939
t.Skip("skipping gdb tests on FreeBSD; see https://golang.org/issue/29508")
40+
case "aix":
41+
if testing.Short() {
42+
t.Skip("skipping gdb tests on AIX; see https://golang.org/issue/35710")
43+
}
4044
}
4145
if final := os.Getenv("GOROOT_FINAL"); final != "" && runtime.GOROOT() != final {
4246
t.Skip("gdb test can fail with GOROOT_FINAL pending")

0 commit comments

Comments
 (0)