aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/gc_test.go
diff options
context:
space:
mode:
authorerifan01 <eric.fang@arm.com>2018-09-12 10:31:04 +0000
committerIan Lance Taylor <iant@golang.org>2018-09-13 17:55:15 +0000
commit0ef42f4dd6b12821641fe415f16e425bb094137b (patch)
treef799e8081cb34ee0074c0df7ba0060170d14f0d9 /src/runtime/gc_test.go
parent7d27e87d35b4c8948a498711cb34c1f73917535b (diff)
downloadgo-0ef42f4dd6b12821641fe415f16e425bb094137b.tar.gz
go-0ef42f4dd6b12821641fe415f16e425bb094137b.zip
runtime: skip TestGcSys on arm64
This failure occurs randomly on arm64. 13:10:32 --- FAIL: TestGcSys (0.06s) 13:10:32 gc_test.go:30: expected "OK\n", but got "using too much memory: 71401472 bytes\n" 13:10:32 FAIL Updates #27636 Change-Id: Ifd4cfce167d8054dc6f037bd34368d63c7f68ed4 Reviewed-on: https://go-review.googlesource.com/135155 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/gc_test.go')
-rw-r--r--src/runtime/gc_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/gc_test.go b/src/runtime/gc_test.go
index 0da19cdf34..1f7715c672 100644
--- a/src/runtime/gc_test.go
+++ b/src/runtime/gc_test.go
@@ -24,6 +24,9 @@ func TestGcSys(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("skipping test; GOOS=windows http://golang.org/issue/27156")
}
+ if runtime.GOOS == "linux" && runtime.GOARCH == "arm64" {
+ t.Skip("skipping test; GOOS=linux GOARCH=arm64 https://github.com/golang/go/issues/27636")
+ }
got := runTestProg(t, "testprog", "GCSys")
want := "OK\n"
if got != want {