File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 8
8
"crypto/rand"
9
9
"encoding/binary"
10
10
"fmt"
11
+ "internal/asan"
12
+ "internal/msan"
11
13
"internal/race"
12
14
"internal/testenv"
13
15
. "runtime"
@@ -102,8 +104,8 @@ func TestMemmoveLarge0x180000(t *testing.T) {
102
104
}
103
105
104
106
t .Parallel ()
105
- if race .Enabled {
106
- t .Skip ("skipping large memmove test under race detector " )
107
+ if race .Enabled || asan . Enabled || msan . Enabled {
108
+ t .Skip ("skipping large memmove test under sanitizers " )
107
109
}
108
110
testSize (t , 0x180000 )
109
111
}
@@ -114,8 +116,8 @@ func TestMemmoveOverlapLarge0x120000(t *testing.T) {
114
116
}
115
117
116
118
t .Parallel ()
117
- if race .Enabled {
118
- t .Skip ("skipping large memmove test under race detector " )
119
+ if race .Enabled || asan . Enabled || msan . Enabled {
120
+ t .Skip ("skipping large memmove test under sanitizers " )
119
121
}
120
122
testOverlap (t , 0x120000 )
121
123
}
You can’t perform that action at this time.
0 commit comments