aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorDavid Crawshaw <crawshaw@golang.org>2015-04-11 19:10:39 -0400
committerDavid Crawshaw <crawshaw@golang.org>2015-04-13 11:57:12 +0000
commit7db8835a5063248ce1e8db53a93706a2f5fc51dd (patch)
tree32591ecd27eddc8afe43129f6c83b0bc39e0de34 /src/runtime/debug
parent439318dd50415e8d6883a9c90663757910a11e33 (diff)
downloadgo-7db8835a5063248ce1e8db53a93706a2f5fc51dd.tar.xz
runtime/debug: disable arm64 test for issue 9993
Like other arm64 platforms, darwin/arm64 has a different physical page size to logical page size so it is running into issue 9993. I hope it can be fixed for Go 1.5, but for now it is demonstrating the same bug as the other skipped os+arch combinations. Change-Id: Iedaf9afe56d6954bb4391b6e843d81742a75a00c Reviewed-on: https://go-review.googlesource.com/8814 Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/runtime/debug')
-rw-r--r--src/runtime/debug/garbage_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/debug/garbage_test.go b/src/runtime/debug/garbage_test.go
index d263626641..bf7f276be9 100644
--- a/src/runtime/debug/garbage_test.go
+++ b/src/runtime/debug/garbage_test.go
@@ -88,8 +88,8 @@ func TestReadGCStats(t *testing.T) {
var big = make([]byte, 1<<20)
func TestFreeOSMemory(t *testing.T) {
- if runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" || runtime.GOOS == "nacl" {
- t.Skip("issue 9993; scavenger temporarily disabled on systems with 64k pages")
+ if runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" || runtime.GOOS == "nacl" || (runtime.GOOS == "darwin" && runtime.GOARCH == "arm64") {
+ t.Skip("issue 9993; scavenger temporarily disabled on systems with physical pages larger than logical pages")
}
var ms1, ms2 runtime.MemStats