Just like we do for race mode. They are just too slow when running
with the sanitizers.
Fixes #59448
Change-Id: I86e3e3488ec5c4c29e410955e9dc4cbc99d39b84
Reviewed-on: https://go-review.googlesource.com/c/go/+/687535
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
"crypto/rand"
"encoding/binary"
"fmt"
+ "internal/asan"
+ "internal/msan"
"internal/race"
"internal/testenv"
. "runtime"
}
t.Parallel()
- if race.Enabled {
- t.Skip("skipping large memmove test under race detector")
+ if race.Enabled || asan.Enabled || msan.Enabled {
+ t.Skip("skipping large memmove test under sanitizers")
}
testSize(t, 0x180000)
}
}
t.Parallel()
- if race.Enabled {
- t.Skip("skipping large memmove test under race detector")
+ if race.Enabled || asan.Enabled || msan.Enabled {
+ t.Skip("skipping large memmove test under sanitizers")
}
testOverlap(t, 0x120000)
}