diff options
| author | Austin Clements <austin@google.com> | 2018-07-08 00:21:27 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2018-07-08 19:25:13 +0000 |
| commit | 5cb1b1773fba1e1503493eea5c4ffa49fc5b5f08 (patch) | |
| tree | 640d23796103553d713fe07ade2667835542de95 /src/runtime/stack_test.go | |
| parent | b001ffb864ce5486c6edbe98202d3e0687313ce2 (diff) | |
| download | go-5cb1b1773fba1e1503493eea5c4ffa49fc5b5f08.tar.xz | |
runtime: fix TestAbort on non-x86 arches
CL 122515 tightened TestAbort to look for breakpoint exceptions and
not just general signal crashes, but this only applies on x86 arches.
On non-x86 arches we use a nil pointer dereference to abort, so the
test is now failing.
This CL re-loosens TestAbort on non-x86 arches to only expect a signal
traceback.
Should fix the build on linux/arm, linux/arm64, linux/ppc64, and
linux/s390x.
Change-Id: I1065341180ab5ab4da63b406c641dcde93c9490b
Reviewed-on: https://go-review.googlesource.com/122580
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/stack_test.go')
0 files changed, 0 insertions, 0 deletions
