aboutsummaryrefslogtreecommitdiff
path: root/libgo/go
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-23 23:22:29 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-23 23:22:29 +0000
commit4ef52b11c752998b4729b21ebaa325d0f01e315a (patch)
tree6ccd6fa3e39b86da093dbca21c5d04888a9d5900 /libgo/go
parentbb11842d3ad5339d4ef1decf0e1cdd9d98c7b1a5 (diff)
PR go/64725
runtime: Disable tests that require that a finalizer run. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220067 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go')
-rw-r--r--libgo/go/runtime/mfinal_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/libgo/go/runtime/mfinal_test.go b/libgo/go/runtime/mfinal_test.go
index c51bfc68819..ab7c8aefb3f 100644
--- a/libgo/go/runtime/mfinal_test.go
+++ b/libgo/go/runtime/mfinal_test.go
@@ -24,6 +24,9 @@ func TestFinalizerType(t *testing.T) {
if runtime.GOARCH != "amd64" {
t.Skipf("Skipping on non-amd64 machine")
}
+ if runtime.Compiler == "gccgo" {
+ t.Skip("skipping for gccgo")
+ }
ch := make(chan bool, 10)
finalize := func(x *int) {
@@ -80,6 +83,9 @@ func TestFinalizerInterfaceBig(t *testing.T) {
if runtime.GOARCH != "amd64" {
t.Skipf("Skipping on non-amd64 machine")
}
+ if runtime.Compiler == "gccgo" {
+ t.Skip("skipping for gccgo")
+ }
ch := make(chan bool)
done := make(chan bool, 1)
go func() {
@@ -174,6 +180,9 @@ func TestEmptySlice(t *testing.T) {
if true { // disable until bug 7564 is fixed.
return
}
+ if runtime.Compiler == "gccgo" {
+ t.Skip("skipping for gccgo")
+ }
x, y := adjChunks()
// the pointer inside xs points to y.