aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/nosan_linux_test.go (renamed from src/runtime/norace_linux_test.go)6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/norace_linux_test.go b/src/runtime/nosan_linux_test.go
index 3521b24655..5c99591a07 100644
--- a/src/runtime/norace_linux_test.go
+++ b/src/runtime/nosan_linux_test.go
@@ -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)))