aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime-gdb_test.go
diff options
context:
space:
mode:
authorClément Chigot <clement.chigot@atos.net>2019-02-28 09:13:56 +0100
committerIan Lance Taylor <iant@golang.org>2019-03-06 05:24:55 +0000
commit6dde1fd792ba4ce41fcce50fc1c66b38666d6924 (patch)
treeec862d3dec4cfc077b80c82706543ab006a980eb /src/runtime/runtime-gdb_test.go
parented2fce2d87ea9aae2e6fcc11610fb64f72e5377e (diff)
downloadgo-6dde1fd792ba4ce41fcce50fc1c66b38666d6924.tar.gz
go-6dde1fd792ba4ce41fcce50fc1c66b38666d6924.zip
runtime: disable TestGdbAutotmpTypes in short mode on aix/ppc64
TestGdbAutotmpTypes takes more than one minute due to gdb performances. Therefore, it must be skipped in short mode. Change-Id: I253ebce62264cc7367c9b0f6ce9c5088a9994641 Reviewed-on: https://go-review.googlesource.com/c/go/+/164339 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/runtime-gdb_test.go')
-rw-r--r--src/runtime/runtime-gdb_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go
index d0f905e4d7..d47c7c2262 100644
--- a/src/runtime/runtime-gdb_test.go
+++ b/src/runtime/runtime-gdb_test.go
@@ -36,8 +36,6 @@ func checkGdbEnvironment(t *testing.T) {
if runtime.GOARCH == "mips" {
t.Skip("skipping gdb tests on linux/mips; see https://golang.org/issue/25939")
}
- case "aix":
- t.Skip("gdb does not work on AIX; see https://golang.org/issue/28558")
case "freebsd":
t.Skip("skipping gdb tests on FreeBSD; see https://golang.org/issue/29508")
}
@@ -396,6 +394,10 @@ func TestGdbAutotmpTypes(t *testing.T) {
t.Parallel()
checkGdbVersion(t)
+ if runtime.GOOS == "aix" && testing.Short() {
+ t.Skip("TestGdbAutotmpTypes is too slow on aix/ppc64")
+ }
+
dir, err := ioutil.TempDir("", "go-build")
if err != nil {
t.Fatalf("failed to create temp directory: %v", err)