From 829931ec93ab7d5ab73f31be9da504abb6ae459e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 13 Aug 2021 17:21:54 -0700 Subject: libgo: various fixes for Solaris support Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/342189 --- libgo/go/runtime/crash_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libgo/go/runtime') diff --git a/libgo/go/runtime/crash_test.go b/libgo/go/runtime/crash_test.go index 15c6000..e3633af 100644 --- a/libgo/go/runtime/crash_test.go +++ b/libgo/go/runtime/crash_test.go @@ -744,6 +744,10 @@ func TestTimePprof(t *testing.T) { // Test that runtime.abort does so. func TestAbort(t *testing.T) { + if runtime.Compiler == "gccgo" && runtime.GOOS == "solaris" { + t.Skip("not supported by gofrontend on Solaris") + } + // Pass GOTRACEBACK to ensure we get runtime frames. output := runTestProg(t, "testprog", "Abort", "GOTRACEBACK=system") if want := "runtime.abort"; !strings.Contains(output, want) { @@ -805,6 +809,10 @@ func TestRuntimePanic(t *testing.T) { // Test that g0 stack overflows are handled gracefully. func TestG0StackOverflow(t *testing.T) { + if runtime.Compiler == "gccgo" { + t.Skip("g0 stack overflow not supported by gofrontend") + } + testenv.MustHaveExec(t) switch runtime.GOOS { -- cgit v1.1