]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime: skip TestTimePprof on illumos
authorTobias Klauser <tklauser@distanz.ch>
Wed, 24 Nov 2021 14:37:21 +0000 (15:37 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 24 Nov 2021 21:09:36 +0000 (21:09 +0000)
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>
src/runtime/crash_test.go

index 1c28e47ac3d792c6a506abcb3b782d6380d4a150..ec4db99d782fea11e3fbe42c1ab1ebe18a0c651e 100644 (file)
@@ -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)
        }