mirror of
https://github.com/golang/go
synced 2024-11-14 13:30:30 -07:00
runtime: skip TestNewOSProc0 with asan and msan
These fail for the same reason as for the race detector, and is the most frequently failing test in both. For #70054. For #64257. For #64256. Change-Id: I3649e58069190b4450f9d4deae6eb8eca5f827a3 Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-asan-clang15,gotip-linux-amd64-msan-clang15 Reviewed-on: https://go-review.googlesource.com/c/go/+/623176 TryBot-Bypass: Michael Knyszek <mknyszek@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
b813465c4f
commit
f5526b56db
@ -2,9 +2,9 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// The file contains tests that cannot run under race detector for some reason.
|
||||
// The file contains tests that cannot run under race detector (or asan or msan) for some reason.
|
||||
//
|
||||
//go:build !race
|
||||
//go:build !race && !asan && !msan
|
||||
|
||||
package runtime_test
|
||||
|
||||
@ -23,7 +23,7 @@ func newOSProcCreated() {
|
||||
newOSProcDone = true
|
||||
}
|
||||
|
||||
// Can't be run with -race because it inserts calls into newOSProcCreated()
|
||||
// Can't be run with -race, -asan, or -msan because it inserts calls into newOSProcCreated()
|
||||
// that require a valid G/M.
|
||||
func TestNewOSProc0(t *testing.T) {
|
||||
runtime.NewOSProc0(0x800000, unsafe.Pointer(abi.FuncPCABIInternal(newOSProcCreated)))
|
Loading…
Reference in New Issue
Block a user