From: Joel Sing Date: Tue, 11 Dec 2018 16:43:48 +0000 (+1100) Subject: runtime/pprof: ignore cpu profile test failures on openbsd/arm X-Git-Tag: go1.12beta1~97 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ef780fbf1023e7a7569cb822bcafcc2252c6e25f;p=gostls13.git runtime/pprof: ignore cpu profile test failures on openbsd/arm 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 Run-TryBot: Ian Lance Taylor --- diff --git a/src/runtime/pprof/pprof_test.go b/src/runtime/pprof/pprof_test.go index 6d82b69a9d..e395d15310 100644 --- a/src/runtime/pprof/pprof_test.go +++ b/src/runtime/pprof/pprof_test.go @@ -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.