mirror of
https://github.com/golang/go
synced 2024-11-18 00:24:48 -07:00
runtime: skip TestGdbPanic on Windows
TestGdbPanic expects crash() to raise a SIGABRT signal interceptable by gdb, but Windows doesn't have signals. Windows builders haven't caught this failing test because they still don't have gdb installed (tracked in #22021). Change-Id: I7c7f2523a54d61aea0a9821c4db7c79e58a7217c Reviewed-on: https://go-review.googlesource.com/c/go/+/473116 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Quim Muntal <quimmuntal@gmail.com> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
This commit is contained in:
parent
14015be5bb
commit
5e74bc1a08
@ -661,6 +661,10 @@ func TestGdbPanic(t *testing.T) {
|
|||||||
t.Parallel()
|
t.Parallel()
|
||||||
checkGdbVersion(t)
|
checkGdbVersion(t)
|
||||||
|
|
||||||
|
if runtime.GOOS == "windows" {
|
||||||
|
t.Skip("no signals on windows")
|
||||||
|
}
|
||||||
|
|
||||||
dir := t.TempDir()
|
dir := t.TempDir()
|
||||||
|
|
||||||
// Build the source code.
|
// Build the source code.
|
||||||
|
Loading…
Reference in New Issue
Block a user