Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 901510e

Browse files
tfzxyinhaocherrymui
authored andcommitted
cmd/link/internal/ld: skip the windows ASLR test when CGO_ENABLED=0
the test case is still using gcc when CGO is disabled. Change-Id: I2d255bfaeb92816c8343ab72fd7984b6632d421d GitHub-Last-Rev: de14748 GitHub-Pull-Request: #46120 Reviewed-on: https://go-review.googlesource.com/c/go/+/319169 Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org>
1 parent 361159c commit 901510e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/cmd/link/internal/ld/ld_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ func TestWindowsBuildmodeCSharedASLR(t *testing.T) {
174174
t.Skip("skipping windows amd64/386 only test")
175175
}
176176

177+
testenv.MustHaveCGO(t)
178+
177179
t.Run("aslr", func(t *testing.T) {
178180
testWindowsBuildmodeCSharedASLR(t, true)
179181
})

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /