aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-05-26 11:05:01 -0400
committerAustin Clements <austin@google.com>2016-05-27 16:46:05 +0000
commit966baedfea6b09fa203b0cf0e6388830cc9f9fa7 (patch)
tree0cdc87769136bea6d3c26ce60976fe049e35dfd3 /src/runtime
parentfa3543e33782fd90e0a8f36366d9889d39a7575e (diff)
downloadgo-966baedfea6b09fa203b0cf0e6388830cc9f9fa7.tar.xz
runtime: record Python stack on TestGdbPython failure
For #15599. Change-Id: Icc2e58a3f314b7a098d78fe164ba36f5b2897de6 Reviewed-on: https://go-review.googlesource.com/23481 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/runtime-gdb_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go
index 0ad8856514..e109fa4528 100644
--- a/src/runtime/runtime-gdb_test.go
+++ b/src/runtime/runtime-gdb_test.go
@@ -100,6 +100,7 @@ func TestGdbPython(t *testing.T) {
fmt.Sprintf("add-auto-load-safe-path %s/src/runtime", runtime.GOROOT()),
"-ex", "set startup-with-shell off",
"-ex", "info auto-load python-scripts",
+ "-ex", "set python print-stack full",
"-ex", "br main.go:10",
"-ex", "run",
"-ex", "echo BEGIN info goroutines\n",