diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2021-11-24 15:37:21 +0100 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@gmail.com> | 2021-11-24 21:09:36 +0000 |
commit | 7e5331ac445045a70256eeeef5b7aad43886c9ec (patch) | |
tree | 1d821375b672452a59cfb077d571ca04553ac47d /src/runtime | |
parent | 5527d7ff7935d8a58a693be5d1ec4a5312f0f07d (diff) | |
download | go-7e5331ac445045a70256eeeef5b7aad43886c9ec.tar.gz go-7e5331ac445045a70256eeeef5b7aad43886c9ec.zip |
runtime: skip TestTimePprof on illumos
On illumos nanotime calls libc, like on the other systems for which
TestTimePprof is skipped.
For #43118
Change-Id: I370d3f098a261185920cb1e3e3402d16200e301a
Reviewed-on: https://go-review.googlesource.com/c/go/+/366737
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/crash_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/crash_test.go b/src/runtime/crash_test.go index 1c28e47ac3..ec4db99d78 100644 --- a/src/runtime/crash_test.go +++ b/src/runtime/crash_test.go @@ -717,7 +717,7 @@ func TestTimePprof(t *testing.T) { // This test is unreliable on any system in which nanotime // calls into libc. switch runtime.GOOS { - case "aix", "darwin", "openbsd", "solaris": + case "aix", "darwin", "illumos", "openbsd", "solaris": t.Skipf("skipping on %s because nanotime calls libc", runtime.GOOS) } |