diff options
author | Ian Lance Taylor <iant@golang.org> | 2022-03-15 21:05:11 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2022-03-28 16:55:15 +0000 |
commit | efed283e795c7f89fa4432b4addcd68aee0340fa (patch) | |
tree | 674e1375c4d8590232e1cf93582d3e8843f80a13 | |
parent | 88be85f18bf0244a2470fdf6719e1b5ca5a5e50a (diff) | |
download | go-efed283e795c7f89fa4432b4addcd68aee0340fa.tar.gz go-efed283e795c7f89fa4432b4addcd68aee0340fa.zip |
[release-branch.go1.17] runtime: call testenv.MustHaveCGO in a couple of tests
For #51695
Fixes #51696
Change-Id: Icfe9d26ecc28a7db9040d50d4661cf9e8245471e
Reviewed-on: https://go-review.googlesource.com/c/go/+/392916
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
(cherry picked from commit 2d32594396b231b39d09ec21d34b22b0270268b5)
Reviewed-on: https://go-review.googlesource.com/c/go/+/393698
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
-rw-r--r-- | src/runtime/signal_windows_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/signal_windows_test.go b/src/runtime/signal_windows_test.go index 1b7cb9d4c4..14b55fe01b 100644 --- a/src/runtime/signal_windows_test.go +++ b/src/runtime/signal_windows_test.go @@ -25,6 +25,7 @@ func TestVectoredHandlerDontCrashOnLibrary(t *testing.T) { t.Skip("this test can only run on windows/amd64") } testenv.MustHaveGoBuild(t) + testenv.MustHaveCGO(t) testenv.MustHaveExecPath(t, "gcc") testprog.Lock() defer testprog.Unlock() @@ -149,6 +150,7 @@ func TestLibraryCtrlHandler(t *testing.T) { t.Skip("this test can only run on windows/amd64") } testenv.MustHaveGoBuild(t) + testenv.MustHaveCGO(t) testenv.MustHaveExecPath(t, "gcc") testprog.Lock() defer testprog.Unlock() |