mirror of
https://github.com/golang/go
synced 2024-11-26 07:57:57 -07:00
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: de14748bd5
GitHub-Pull-Request: golang/go#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>
This commit is contained in:
parent
361159c055
commit
901510ed4e
@ -174,6 +174,8 @@ func TestWindowsBuildmodeCSharedASLR(t *testing.T) {
|
||||
t.Skip("skipping windows amd64/386 only test")
|
||||
}
|
||||
|
||||
testenv.MustHaveCGO(t)
|
||||
|
||||
t.Run("aslr", func(t *testing.T) {
|
||||
testWindowsBuildmodeCSharedASLR(t, true)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user