From 7e5331ac445045a70256eeeef5b7aad43886c9ec Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 24 Nov 2021 15:37:21 +0100 Subject: [PATCH] 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 --- src/runtime/crash_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- 2.50.0