From 28fbf5b831e3c577c2e220daa82a85065047e356 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20M=C3=B6hrmann?= Date: Wed, 22 Aug 2018 22:34:39 +0200 Subject: [PATCH] runtime: skip TestGcSys on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This is causing failures on TryBots and BuildBots: --- FAIL: TestGcSys (0.06s) gc_test.go:27: expected "OK\n", but got "using too much memory: 39882752 bytes\n" FAIL Updates #27156 Change-Id: I418bbec89002574cd583c97422e433f042c07492 Reviewed-on: https://go-review.googlesource.com/130875 Run-TryBot: Martin Möhrmann Reviewed-by: Brad Fitzpatrick --- src/runtime/gc_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/gc_test.go b/src/runtime/gc_test.go index 4895a0e2ac..0da19cdf34 100644 --- a/src/runtime/gc_test.go +++ b/src/runtime/gc_test.go @@ -21,6 +21,9 @@ func TestGcSys(t *testing.T) { if os.Getenv("GOGC") == "off" { t.Skip("skipping test; GOGC=off in environment") } + if runtime.GOOS == "windows" { + t.Skip("skipping test; GOOS=windows http://golang.org/issue/27156") + } got := runTestProg(t, "testprog", "GCSys") want := "OK\n" if got != want { -- 2.50.0