aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime-gdb_test.go
diff options
context:
space:
mode:
authorShawn Walker-Salas <shawn.walker@oracle.com>2017-06-27 16:49:09 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2017-06-28 05:01:20 +0000
commite7823d656e8118534d9ddbd6d2b948c6fdad0549 (patch)
tree8f96eae4063ceca086cfd41ac59304b376ffb068 /src/runtime/runtime-gdb_test.go
parentc991d2ab14496789146560608c5756d5d83b35f6 (diff)
downloadgo-e7823d656e8118534d9ddbd6d2b948c6fdad0549.tar.gz
go-e7823d656e8118534d9ddbd6d2b948c6fdad0549.zip
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 <shawn.walker@oracle.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/runtime-gdb_test.go')
-rw-r--r--src/runtime/runtime-gdb_test.go4
1 files changed, 4 insertions, 0 deletions
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()