]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/pprof: enable profiling test on openbsd
authorJoel Sing <jsing@google.com>
Mon, 13 Jan 2014 00:24:08 +0000 (11:24 +1100)
committerJoel Sing <jsing@google.com>
Mon, 13 Jan 2014 00:24:08 +0000 (11:24 +1100)
Profiling of multithreaded applications works correctly on OpenBSD
5.4-current, so enable the profiling test.

R=golang-codereviews, minux.ma
CC=golang-codereviews
https://golang.org/cl/50940043

src/pkg/runtime/pprof/pprof.go
src/pkg/runtime/pprof/pprof_test.go

index 3b8428519d74c4bc275f026d77de4e7fbeacaae4..98080457cb581e14a3e4b8bbfcb70f0263eb727a 100644 (file)
@@ -20,7 +20,7 @@ import (
        "text/tabwriter"
 )
 
-// BUG(rsc): Profiles are incomplete and inaccuate on NetBSD, OpenBSD, and OS X.
+// BUG(rsc): Profiles are incomplete and inaccuate on NetBSD and OS X.
 // See http://golang.org/issue/6047 for details.
 
 // A Profile is a collection of stack traces showing the call sequences
index 8eab5b8303acf69c31a2d0a7ff6a09a1c8980e7f..d7734eb3290d1d1a8791b9ff550438422c26e89e 100644 (file)
@@ -272,9 +272,8 @@ func TestMathBigDivide(t *testing.T) {
 
 // Operating systems that are expected to fail the tests. See issue 6047.
 var badOS = map[string]bool{
-       "darwin":  true,
-       "netbsd":  true,
-       "openbsd": true,
+       "darwin": true,
+       "netbsd": true,
 }
 
 func TestBlockProfile(t *testing.T) {