Commit 9d8d3ba2 by Ian Lance Taylor

re PR go/64725 (FAIL: libgo/runtime TestFinalizerType testing.go:278: #2:…

re PR go/64725 (FAIL: libgo/runtime TestFinalizerType testing.go:278: #2: finalizer for type func(*int) didn't run)

	PR go/64725
runtime: Disable tests that require that a finalizer run.

From-SVN: r220067
parent 0b855aa3
...@@ -24,6 +24,9 @@ func TestFinalizerType(t *testing.T) { ...@@ -24,6 +24,9 @@ func TestFinalizerType(t *testing.T) {
if runtime.GOARCH != "amd64" { if runtime.GOARCH != "amd64" {
t.Skipf("Skipping on non-amd64 machine") t.Skipf("Skipping on non-amd64 machine")
} }
if runtime.Compiler == "gccgo" {
t.Skip("skipping for gccgo")
}
ch := make(chan bool, 10) ch := make(chan bool, 10)
finalize := func(x *int) { finalize := func(x *int) {
...@@ -80,6 +83,9 @@ func TestFinalizerInterfaceBig(t *testing.T) { ...@@ -80,6 +83,9 @@ func TestFinalizerInterfaceBig(t *testing.T) {
if runtime.GOARCH != "amd64" { if runtime.GOARCH != "amd64" {
t.Skipf("Skipping on non-amd64 machine") t.Skipf("Skipping on non-amd64 machine")
} }
if runtime.Compiler == "gccgo" {
t.Skip("skipping for gccgo")
}
ch := make(chan bool) ch := make(chan bool)
done := make(chan bool, 1) done := make(chan bool, 1)
go func() { go func() {
...@@ -174,6 +180,9 @@ func TestEmptySlice(t *testing.T) { ...@@ -174,6 +180,9 @@ func TestEmptySlice(t *testing.T) {
if true { // disable until bug 7564 is fixed. if true { // disable until bug 7564 is fixed.
return return
} }
if runtime.Compiler == "gccgo" {
t.Skip("skipping for gccgo")
}
x, y := adjChunks() x, y := adjChunks()
// the pointer inside xs points to y. // the pointer inside xs points to y.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment