]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: skip slow tests on mips when run under builders
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 21 Nov 2016 21:29:32 +0000 (21:29 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 21 Nov 2016 22:16:13 +0000 (22:16 +0000)
Change-Id: If754de6c44cf0ec4192101432e4065cc7a28e862
Reviewed-on: https://go-review.googlesource.com/33425
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>

src/cmd/go/go_test.go

index 6e747865da505ccde7c954f4e5a0075cc3a6dd3d..632a1a5e6a2e9f5c255df4e8f956ca76fb63adf1 100644 (file)
@@ -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 {