diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-08-13 17:21:54 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-08-14 17:34:52 -0700 |
commit | 829931ec93ab7d5ab73f31be9da504abb6ae459e (patch) | |
tree | 40c9a1476aeaddc88721cc6556d6c07ba133d483 /libgo/go/runtime | |
parent | 7dd8f1982c65866eba435112633db2a34d2814a7 (diff) | |
download | gcc-829931ec93ab7d5ab73f31be9da504abb6ae459e.zip gcc-829931ec93ab7d5ab73f31be9da504abb6ae459e.tar.gz gcc-829931ec93ab7d5ab73f31be9da504abb6ae459e.tar.bz2 |
libgo: various fixes for Solaris support
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/342189
Diffstat (limited to 'libgo/go/runtime')
-rw-r--r-- | libgo/go/runtime/crash_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
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 { |