mirror of https://github.com/golang/go.git
runtime: disable gc test on non-amd64 systems
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6210062
This commit is contained in:
parent
f5752848fd
commit
283a3ddab8
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue