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>
This commit is contained in:
Richard Miller 2020-03-31 19:44:19 +01:00 committed by David du Colombier
parent 2d77d33305
commit 2cb80bdee0

View file

@ -41,6 +41,8 @@ func checkGdbEnvironment(t *testing.T) {
if testing.Short() { if testing.Short() {
t.Skip("skipping gdb tests on AIX; see https://golang.org/issue/35710") 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 { if final := os.Getenv("GOROOT_FINAL"); final != "" && runtime.GOROOT() != final {
t.Skip("gdb test can fail with GOROOT_FINAL pending") t.Skip("gdb test can fail with GOROOT_FINAL pending")