]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/pprof: disable testing under race detector
authorDmitriy Vyukov <dvyukov@google.com>
Mon, 24 Jun 2013 19:51:00 +0000 (23:51 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Mon, 24 Jun 2013 19:51:00 +0000 (23:51 +0400)
until we decide what to do with issues 5659/5736.
Profiling with race detector is not very useful in general,
and now it makes race builders red.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/10523043

src/pkg/runtime/pprof/pprof_test.go

index 6d5764f4a2c7eb1c04c9e1e5b29339ed36e51b8f..94d19f741c46d61e56887106aa2290a295770cf6 100644 (file)
@@ -2,6 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// See issue 5659.
+// +build !race
+
 package pprof_test
 
 import (