From: Tobias Klauser Date: Wed, 24 Nov 2021 14:37:21 +0000 (+0100) Subject: runtime: skip TestTimePprof on illumos X-Git-Tag: go1.18beta1~180 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7e5331ac445045a70256eeeef5b7aad43886c9ec;p=gostls13.git 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 Run-TryBot: Tobias Klauser TryBot-Result: Go Bot Reviewed-by: Ian Lance Taylor --- 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) }