From: Shawn Walker-Salas Date: Tue, 27 Jun 2017 23:49:09 +0000 (-0700) Subject: runtime: temporarily skip gdb python-related tests on solaris X-Git-Tag: go1.9rc1~148 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e7823d656e8118534d9ddbd6d2b948c6fdad0549;p=gostls13.git runtime: temporarily skip gdb python-related tests on solaris Updates #20821 Change-Id: I77a5b9a3bbb931845ef52a479549d71069af9540 Reviewed-on: https://go-review.googlesource.com/46913 Run-TryBot: Shawn Walker-Salas TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick Reviewed-by: Ian Lance Taylor --- diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go index 219ea01e8e..1318babdea 100644 --- a/src/runtime/runtime-gdb_test.go +++ b/src/runtime/runtime-gdb_test.go @@ -56,6 +56,10 @@ func checkGdbVersion(t *testing.T) { } func checkGdbPython(t *testing.T) { + if runtime.GOOS == "solaris" && testenv.Builder() != "solaris-amd64-smartosbuildlet" { + t.Skip("skipping gdb python tests on solaris; see golang.org/issue/20821") + } + cmd := exec.Command("gdb", "-nx", "-q", "--batch", "-iex", "python import sys; print('go gdb python support')") out, err := cmd.CombinedOutput()