Skip to content

Commit

Permalink
runtime: skip TestTimePprof on illumos
Browse files Browse the repository at this point in the history
On illumos nanotime calls libc, like on the other systems for which
TestTimePprof is skipped.

For golang#43118

Change-Id: I370d3f098a261185920cb1e3e3402d16200e301a
Reviewed-on: https://go-review.googlesource.com/c/go/+/366737
Trust: Tobias Klauser <[email protected]>
Run-TryBot: Tobias Klauser <[email protected]>
TryBot-Result: Go Bot <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
tklauser committed Nov 24, 2021
1 parent 5527d7f commit 7e5331a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/crash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 7e5331a

Please sign in to comment.