]> Cypherpunks repositories - gostls13.git/commit
runtime: suppress thread event prints in gdb test
authorCherry Zhang <cherryyz@google.com>
Fri, 19 Apr 2019 15:53:33 +0000 (11:53 -0400)
committerCherry Zhang <cherryyz@google.com>
Fri, 19 Apr 2019 17:12:13 +0000 (17:12 +0000)
commit97252f620ff8718ca9f7fef0ddebef16c6993612
treefc67917ea0fdaa1df5be738d0ddcb1447bffda80
parent4a119141303407d9223296e9092611560665d3e1
runtime: suppress thread event prints in gdb test

Pass "set print thread-events off" to gdb to suppress thread
event prints, like "[New Thread 0xe7b83b40 (LWP 18609)]". We
don't check them, and the extra output may confuse our other
checks, in particular, checkCleanBacktrace.

Hopefully fixes #31569.

Change-Id: I6549e1280da7afa1d2e38da2b2fa7cc18c2f0373
Reviewed-on: https://go-review.googlesource.com/c/go/+/172980
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/runtime-gdb_test.go