]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo/internal/test: only test specific frames in testCallbackCallersSEH
authorqmuntal <quimmuntal@gmail.com>
Wed, 29 Nov 2023 10:15:54 +0000 (11:15 +0100)
committerGopher Robot <gobot@golang.org>
Wed, 29 Nov 2023 16:01:37 +0000 (16:01 +0000)
commitb9a4eaa62b043fdb91f1f4a1e4b5ccfd3bdca36f
treea445781c9a3d7094e304b1b723a65a4d1eb4cd4a
parent1908d4354b5b1cb02edd9f93d024551fe812eb22
cmd/cgo/internal/test: only test specific frames in testCallbackCallersSEH

testCallbackCallersSEH will break if anything in this call chain is
refactored to have a different number of function calls.

This change makes the test more robust by only testing the frames
that are actually relevant to the test.

Change-Id: Idb51514d7079f55da6e6ddc52ad43b1ffe32c8c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/545755
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/cgo/internal/test/callback_windows.go