mirror of https://github.com/golang/go.git
Skip the windows ASLR test when CGO_ENABLED=0
This commit is contained in:
parent
1a0ea1a08b
commit
465d60e019
|
|
@ -174,6 +174,9 @@ func TestWindowsBuildmodeCSharedASLR(t *testing.T) {
|
|||
t.Skip("skipping windows amd64/386 only test")
|
||||
}
|
||||
|
||||
// make sure cgo enable
|
||||
testenv.MustHaveCGO(t)
|
||||
|
||||
t.Run("aslr", func(t *testing.T) {
|
||||
testWindowsBuildmodeCSharedASLR(t, true)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue