Commit 3a3c9d6d authored by Dave Cheney's avatar Dave Cheney

runtime/debug: fix nacl build

Disable the test properly on nacl systems, tested on nacl/amd64p32.

Change-Id: Iffe210be4f9c426bfc47f2dd3a8f0c6b5a398cc3
Reviewed-on: https://go-review.googlesource.com/6093Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent f9cc72cc
......@@ -88,8 +88,7 @@ func TestReadGCStats(t *testing.T) {
var big = make([]byte, 1<<20)
func TestFreeOSMemory(t *testing.T) {
switch runtime.GOARCH {
case "ppc64", "ppc64le", "nacl":
if runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" || runtime.GOOS == "nacl" {
t.Skip("issue 9993; scavenger temporarily disabled on systems with 64k pages")
}
var ms1, ms2 runtime.MemStats
......
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