diff options
| author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-06-15 17:04:01 +0200 |
|---|---|---|
| committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-06-15 16:53:28 +0000 |
| commit | ea8612ef42bfbf837e22aef669e9f715100e532a (patch) | |
| tree | fbb90e5a2513dc8e80618a30ade2e8a704b34105 /src/syscall/syscall_windows_test.go | |
| parent | abc56fd1a0505d4fc27943cbcda81ac783fb2d2f (diff) | |
| download | go-ea8612ef42bfbf837e22aef669e9f715100e532a.tar.xz | |
syscall: disable c-shared test when no cgo, for windows/arm
The windows/arm port does not yet support cgo, so disable a test that
requires it. This fixes a regression from CL 327969, which added support
for arm64, but errantly dropped the t.Skip for both arm and arm64,
rather than just for arm64. With this commit, we make the test specific
to cgo, rather than the architecture.
Change-Id: Ibe1166c1965e007c7af899b07ded65f2a2633ddd
Reviewed-on: https://go-review.googlesource.com/c/go/+/327970
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/syscall/syscall_windows_test.go')
| -rw-r--r-- | src/syscall/syscall_windows_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syscall/syscall_windows_test.go b/src/syscall/syscall_windows_test.go index 581a246cd9..194c87805c 100644 --- a/src/syscall/syscall_windows_test.go +++ b/src/syscall/syscall_windows_test.go @@ -78,6 +78,7 @@ func TestTOKEN_ALL_ACCESS(t *testing.T) { func TestStdioAreInheritable(t *testing.T) { testenv.MustHaveGoBuild(t) + testenv.MustHaveCGO(t) testenv.MustHaveExecPath(t, "gcc") tmpdir := t.TempDir() |
