From: Joel Sing Date: Mon, 13 Jan 2014 00:24:08 +0000 (+1100) Subject: runtime/pprof: enable profiling test on openbsd X-Git-Tag: go1.3beta1~1000 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=073bd0ba245395fdb9b2837fa365fb4a23eebb7a;p=gostls13.git runtime/pprof: enable profiling test on openbsd 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 --- diff --git a/src/pkg/runtime/pprof/pprof.go b/src/pkg/runtime/pprof/pprof.go index 3b8428519d..98080457cb 100644 --- a/src/pkg/runtime/pprof/pprof.go +++ b/src/pkg/runtime/pprof/pprof.go @@ -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 diff --git a/src/pkg/runtime/pprof/pprof_test.go b/src/pkg/runtime/pprof/pprof_test.go index 8eab5b8303..d7734eb329 100644 --- a/src/pkg/runtime/pprof/pprof_test.go +++ b/src/pkg/runtime/pprof/pprof_test.go @@ -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) {