]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/pprof: skip TestStackBarrierProfiling on dragonfly too
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 6 Jan 2016 21:10:22 +0000 (13:10 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 6 Jan 2016 22:15:37 +0000 (22:15 +0000)
Just saw a few dragonfly failures here.

I'm tempted to preemptively add plan9 here too, but I'll wait until
I see it fail.

Change-Id: Ic99fc088dbfd1aa21f509148aee98ccfe7f640bf
Reviewed-on: https://go-review.googlesource.com/18306
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/pprof/pprof_test.go

index d207464ad1a35c719055717e98ed4feec3a5ea94..9e30313146062d3896fa689d01ad59e93ac23909 100644 (file)
@@ -333,7 +333,7 @@ func TestMathBigDivide(t *testing.T) {
 }
 
 func TestStackBarrierProfiling(t *testing.T) {
-       if (runtime.GOOS == "linux" && runtime.GOARCH == "arm") || runtime.GOOS == "openbsd" || runtime.GOOS == "solaris" {
+       if (runtime.GOOS == "linux" && runtime.GOARCH == "arm") || runtime.GOOS == "openbsd" || runtime.GOOS == "solaris" || runtime.GOOS == "dragonfly" {
                // This test currently triggers a large number of
                // usleep(100)s. These kernels/arches have poor
                // resolution timers, so this gives up a whole