]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/pprof: ignore cpu profile test failures on openbsd/arm
authorJoel Sing <joel@sing.id.au>
Tue, 11 Dec 2018 16:43:48 +0000 (03:43 +1100)
committerJoel Sing <joel@sing.id.au>
Wed, 12 Dec 2018 02:36:44 +0000 (02:36 +0000)
This test is currently too flakey on openbsd/arm - ignore failures for the time
being.

Change-Id: Ia334d188f505167e691177ebe2c7a2df54bf556a
Reviewed-on: https://go-review.googlesource.com/c/153579
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>

src/runtime/pprof/pprof_test.go

index 6d82b69a9d549d16d45ebd744ae56d0c1363c735..e395d153102c2e75595acdc4385913485ae6c18e 100644 (file)
@@ -193,6 +193,10 @@ func testCPUProfile(t *testing.T, matches matchFunc, need []string, avoid []stri
        switch runtime.GOOS {
        case "darwin", "dragonfly", "netbsd", "solaris":
                t.Skipf("ignoring failure on %s; see golang.org/issue/13841", runtime.GOOS)
+       case "openbsd":
+               if runtime.GOARCH == "arm" {
+                       t.Skipf("ignoring failure on %s/%s; see golang.org/issue/13841", runtime.GOOS, runtime.GOARCH)
+               }
        }
        // Ignore the failure if the tests are running in a QEMU-based emulator,
        // QEMU is not perfect at emulating everything.