From 073bd0ba245395fdb9b2837fa365fb4a23eebb7a Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Mon, 13 Jan 2014 11:24:08 +1100 Subject: [PATCH] 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 --- src/pkg/runtime/pprof/pprof.go | 2 +- src/pkg/runtime/pprof/pprof_test.go | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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) { -- 2.48.1