[libgo,testsuite] Skip runtime.TestG0StackOverflow on Solaris

Message ID yddd0nkfaj2.fsf@CeBiTec.Uni-Bielefeld.DE
State New
Headers show
  • [libgo,testsuite] Skip runtime.TestG0StackOverflow on Solaris
Related show

Commit Message

Rainer Orth Feb. 22, 2019, 9:16 a.m.
One of the relatively few remaining libgo failures on Solaris is

--- FAIL: TestG0StackOverflow (2.17s)
    crash_test.go:754: === RUN   TestG0StackOverflow

        (exit status signal: Segmentation Fault)
FAIL: runtime

Given that Solaris is a pthread target just like a bunch of others, it
seems that the test should skipped there as well.  Done with the
following patch, tested on i386-pc-solaris2.11 and

This leaves only (in runtime)

--- FAIL: TestSelectStackAdjust (0.16s)
    chan_test.go:728: failed to trigger concurrent GC

(both sparc and x86)


--- FAIL: TestPanicInlined (0.00s)
    crash_test.go:566: expecting stack trace to contain call to point.negate

(sparc only).  I haven't yet investigated those.


Rainer Orth, Center for Biotechnology, Bielefeld University

2019-02-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* go/runtime/crash_test.go (TestG0StackOverflow): Skip on solaris.


# HG changeset patch
# Parent  b4d1b955d0574477e08883eb0143e36610f99f8f
Skip runtime.TestG0StackOverflow on Solaris

diff --git a/libgo/go/runtime/crash_test.go b/libgo/go/runtime/crash_test.go
--- a/libgo/go/runtime/crash_test.go
+++ b/libgo/go/runtime/crash_test.go
@@ -741,7 +741,7 @@  func TestG0StackOverflow(t *testing.T) {
 	switch runtime.GOOS {
-	case "darwin", "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "android":
+	case "darwin", "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "android", "solaris":
 		t.Skipf("g0 stack is wrong on pthread platforms (see golang.org/issue/26061)")