]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/debug: enable TestFreeOSMemory on all arches
authorAustin Clements <austin@google.com>
Fri, 19 Aug 2016 19:51:00 +0000 (15:51 -0400)
committerAustin Clements <austin@google.com>
Tue, 6 Sep 2016 21:05:58 +0000 (21:05 +0000)
TestFreeOSMemory was disabled on many arches because of issue #9993.
Since that's been fixed, enable the test everywhere.

Change-Id: I298c38c3e04128d9c8a1f558980939d5699bea03
Reviewed-on: https://go-review.googlesource.com/27403
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Minux Ma <minux@golang.org>
src/runtime/debug/garbage_test.go

index 6ec94aa3fb9d6492d77252a5f18aca1e9d86d341..d1fa7db23a477590c8fc841be024b947ed25cd00 100644 (file)
@@ -89,10 +89,6 @@ func TestReadGCStats(t *testing.T) {
 var big = make([]byte, 1<<20)
 
 func TestFreeOSMemory(t *testing.T) {
-       if runtime.GOARCH == "arm64" || runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" || runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" ||
-               runtime.GOOS == "nacl" {
-               t.Skip("issue 9993; scavenger temporarily disabled on systems with physical pages larger than logical pages")
-       }
        var ms1, ms2 runtime.MemStats
 
        if big == nil {