]> Cypherpunks repositories - gostls13.git/commit
runtime: skip debug call injection tests under a debugger
authorAustin Clements <austin@google.com>
Mon, 27 Aug 2018 01:30:19 +0000 (21:30 -0400)
committerAustin Clements <austin@google.com>
Wed, 3 Oct 2018 20:32:28 +0000 (20:32 +0000)
commitf6fea0f31de094f43a4e7f659342de02585964ac
tree5e85fbdf0d8ac49965182793511691190f22cccf
parent112f28defcbd8f48de83f4502093ac97149b4da6
runtime: skip debug call injection tests under a debugger

The debug call injection tests will freeze when run under a debugger
because they depend on catching SIGTRAP, which is usually swallowed by
a debugger.

Change-Id: If6b86ca279b0489182990dd513444ca3062973f1
Reviewed-on: https://go-review.googlesource.com/c/139437
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/debug_test.go