]> Cypherpunks repositories - gostls13.git/commit
runtime: skip TestGdbBacktrace on gdb bug
authorAustin Clements <austin@google.com>
Wed, 8 Jun 2022 16:24:55 +0000 (12:24 -0400)
committerAustin Clements <austin@google.com>
Wed, 8 Jun 2022 19:41:54 +0000 (19:41 +0000)
commitbdde41e3ba4926b9c1143502f299286d5eca6490
treedc19affebeadca0e931ddcf599a0143f657964bd
parent432158b69a50e292b625d08dcfacd0604acbabd3
runtime: skip TestGdbBacktrace on gdb bug

Very rarely, GDB will successfully run the whole test and the inferior
will exit successfully, and then GDB itself hangs and never exits.
Detect this and skip the test as flaky. We could just continue the
test since all of the output we need is there, but by skipping it
we're less likely to notice serious regressions in this test.

Fixes #37405.

Change-Id: I016cbb06f48673f064733da3e3f1ddcbefd58159
Reviewed-on: https://go-review.googlesource.com/c/go/+/411117
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/runtime-gdb_test.go