]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: skip external tests on plan9/arm
authorDavid du Colombier <0intro@gmail.com>
Sun, 28 Jan 2018 18:58:25 +0000 (19:58 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 28 Jan 2018 19:54:48 +0000 (19:54 +0000)
CL 13166, CL 13342 and CL 33425 skipped external tests
on freebsd/arm, linux/arm and linux/mips.

This CL does the same for plan9/arm to reduce test time
on plan9/arm and prevent the Go builder to time out.

Change-Id: I16fcc5d8010a354f480673b8c4a8a11dbc833557
Reviewed-on: https://go-review.googlesource.com/90416
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/go_test.go

index 7eaaf4875946967cecf64f01e8dea5b5d769e61a..08384825cac99edd4bf19390f3ecf8d62ecab2a7 100644 (file)
@@ -81,6 +81,13 @@ func init() {
                        skipExternal = true
                        canRun = false
                }
+       case "plan9":
+               switch runtime.GOARCH {
+               case "arm":
+                       // many plan9/arm machines are too slow to run
+                       // the full set of external tests.
+                       skipExternal = true
+               }
        case "windows":
                exeSuffix = ".exe"
        }