From: Andrew Gerrand Date: Thu, 17 May 2012 01:34:28 +0000 (+1000) Subject: runtime: disable gc test on non-amd64 systems X-Git-Tag: go1.1rc2~3191 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=283a3ddab8f93ef3a54139541e354c8673bee83c;p=gostls13.git runtime: disable gc test on non-amd64 systems R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6210062 --- diff --git a/src/pkg/runtime/gc_test.go b/src/pkg/runtime/gc_test.go index 7770e499ad..fdbe13ebbe 100644 --- a/src/pkg/runtime/gc_test.go +++ b/src/pkg/runtime/gc_test.go @@ -10,6 +10,11 @@ import ( ) func TestGcSys(t *testing.T) { + if runtime.GOARCH != "amd64" { + // TODO(adg): remove this when precise gc is implemented + t.Logf("skipping on non-amd64 systems") + return + } memstats := new(runtime.MemStats) runtime.GC() runtime.ReadMemStats(memstats)