aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Miller <miller.research@gmail.com>2020-03-31 19:44:19 +0100
committerDavid du Colombier <0intro@gmail.com>2020-03-31 19:12:33 +0000
commit2cb80bdee0dcb4ff55f46ab7025a37546aef6b7a (patch)
tree267db030386804a4538ee47a2803bb143ca1985b
parent2d77d3330537e11a0d9a233ba5f4facf262e9d8c (diff)
downloadgo-2cb80bdee0dcb4ff55f46ab7025a37546aef6b7a.tar.gz
go-2cb80bdee0dcb4ff55f46ab7025a37546aef6b7a.zip
runtime: skip gdb tests on Plan 9
There's no gdb on Plan 9. Change-Id: Ibeb0fbd3c096a69181c19b1fb2bc6291612b6da3 Reviewed-on: https://go-review.googlesource.com/c/go/+/226657 Reviewed-by: David du Colombier <0intro@gmail.com>
-rw-r--r--src/runtime/runtime-gdb_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go
index 79b4621614..5dbe4bf88a 100644
--- a/src/runtime/runtime-gdb_test.go
+++ b/src/runtime/runtime-gdb_test.go
@@ -41,6 +41,8 @@ func checkGdbEnvironment(t *testing.T) {
if testing.Short() {
t.Skip("skipping gdb tests on AIX; see https://golang.org/issue/35710")
}
+ case "plan9":
+ t.Skip("there is no gdb on Plan 9")
}
if final := os.Getenv("GOROOT_FINAL"); final != "" && runtime.GOROOT() != final {
t.Skip("gdb test can fail with GOROOT_FINAL pending")