diff options
author | Joel Sing <joel@sing.id.au> | 2018-12-12 03:43:48 +1100 |
---|---|---|
committer | Joel Sing <joel@sing.id.au> | 2018-12-12 02:36:44 +0000 |
commit | ef780fbf1023e7a7569cb822bcafcc2252c6e25f (patch) | |
tree | cd81b32bbb1b9e9f8ea0aa62d4ae9894d4d0b1b6 | |
parent | 2de2dc26b08f2781981fe3c3a1e6c7004e1caca0 (diff) | |
download | go-git-ef780fbf1023e7a7569cb822bcafcc2252c6e25f.tar.gz |
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 <bradfitz@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
-rw-r--r-- | src/runtime/pprof/pprof_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
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. |