Commit 7736cbaf authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

cmd/dist: adjust default timeout scale for mips

Per recommendation from imgtec.com folk.

Change-Id: I9b6f30572f257acce59842ac55362f52fe36c5ab
Reviewed-on: https://go-review.googlesource.com/33804Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent fd483b6f
......@@ -152,8 +152,11 @@ func (t *tester) run() {
}
t.timeoutScale = 1
if t.goarch == "arm" || t.goos == "windows" {
switch t.goarch {
case "arm", "windows":
t.timeoutScale = 2
case "mips", "mipsle", "mips64", "mips64le":
t.timeoutScale = 4
}
if s := os.Getenv("GO_TEST_TIMEOUT_SCALE"); s != "" {
t.timeoutScale, err = strconv.Atoi(s)
......
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