mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: TestGcSys: if GOGC=off, skip instead of failing
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8201043
This commit is contained in:
parent
ad7aa83020
commit
59ae9d9ac9
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue