From 6e7e8b0f0d8644b3e1981229d597cf8ac2d898c7 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 21 Nov 2016 21:29:32 +0000 Subject: [PATCH] cmd/go: skip slow tests on mips when run under builders Change-Id: If754de6c44cf0ec4192101432e4065cc7a28e862 Reviewed-on: https://go-review.googlesource.com/33425 Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor --- src/cmd/go/go_test.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/cmd/go/go_test.go b/src/cmd/go/go_test.go index 6e747865da..632a1a5e6a 100644 --- a/src/cmd/go/go_test.go +++ b/src/cmd/go/go_test.go @@ -49,6 +49,17 @@ func init() { // many linux/arm machines are too slow to run // the full set of external tests. skipExternal = true + case "mips", "mipsle", "mips64", "mips64le": + // Also slow. + skipExternal = true + if testenv.Builder() != "" { + // On the builders, skip the cmd/go + // tests. They're too slow and already + // covered by other ports. There's + // nothing os/arch specific in the + // tests. + canRun = false + } } case "freebsd": switch runtime.GOARCH { -- 2.48.1