Skip to content

Commit 9b48fed

Browse files
psilva261rafael2k
authored andcommitted
internal/testenv: update CPUIsSlow
1 parent 028bcd2 commit 9b48fed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/internal/testenv/testenv.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ func CPUIsSlow() bool {
442442
case "arm", "mips", "mipsle", "mips64", "mips64le", "wasm":
443443
return true
444444
}
445-
return false
445+
446+
return runtime.GOARCH == "arm64" && runtime.GOOS == "plan9"
446447
}
447448

448449
// SkipIfShortAndSlow skips t if -short is set and the CPU running the test is

0 commit comments

Comments
 (0)