summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/futex_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/futex_test.go')
-rw-r--r--src/pkg/runtime/futex_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pkg/runtime/futex_test.go b/src/pkg/runtime/futex_test.go
index 51f4d0f12..f4054b7e7 100644
--- a/src/pkg/runtime/futex_test.go
+++ b/src/pkg/runtime/futex_test.go
@@ -2,7 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build linux freebsd
+// Futex is only available on Dragonfly, FreeBSD and Linux.
+// The race detector emits calls to split stack functions so it breaks the test.
+// +build dragonfly freebsd linux
+// +build !race
package runtime_test