Commit 283a3dda authored by Andrew Gerrand's avatar Andrew Gerrand

runtime: disable gc test on non-amd64 systems

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6210062
parent f5752848
...@@ -10,6 +10,11 @@ import ( ...@@ -10,6 +10,11 @@ import (
) )
func TestGcSys(t *testing.T) { 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) memstats := new(runtime.MemStats)
runtime.GC() runtime.GC()
runtime.ReadMemStats(memstats) runtime.ReadMemStats(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