From 59ae9d9ac9234b07c9940fa617ca09a4f43d352c Mon Sep 17 00:00:00 2001 From: Albert Strasheim Date: Sat, 30 Mar 2013 15:10:53 -0700 Subject: [PATCH] runtime: TestGcSys: if GOGC=off, skip instead of failing R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8201043 --- src/pkg/runtime/gc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/gc_test.go b/src/pkg/runtime/gc_test.go index 3475339bfe..26fc77de11 100644 --- a/src/pkg/runtime/gc_test.go +++ b/src/pkg/runtime/gc_test.go @@ -13,7 +13,7 @@ import ( func TestGcSys(t *testing.T) { if os.Getenv("GOGC") == "off" { - t.Fatalf("GOGC=off in environment; test cannot pass") + t.Skip("skipping test; GOGC=off in environment") } data := struct{ Short bool }{testing.Short()} got := executeTest(t, testGCSysSource, &data) -- 2.50.0