]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: disable shootout/spectralnorm on linux/mips64 builder
authorShenghou Ma <minux@golang.org>
Sat, 14 Nov 2015 05:06:46 +0000 (00:06 -0500)
committerMinux Ma <minux@golang.org>
Sat, 14 Nov 2015 21:43:49 +0000 (21:43 +0000)
It is too slow with kernel FPU emulator.

Updates #12688.

Change-Id: Ib3a5adfeb46e894550231b14eb0f4fb20aecee11
Reviewed-on: https://go-review.googlesource.com/16922
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/dist/test.go

index 77f7216b257caf88eda2cb8b9b6c588b938b6cc0..5b4ead4badd0653d8462010ba063f64c93cdefc7 100644 (file)
@@ -454,10 +454,15 @@ func (t *tester) registerTests() {
                t.registerTest("wiki", "../doc/articles/wiki", "./test.bash")
                t.registerTest("codewalk", "../doc/codewalk", "time", "./run")
                for _, name := range t.shootoutTests() {
-                       if name == "spectralnorm" && os.Getenv("GO_BUILDER_NAME") == "linux-arm-arm5" {
-                               // Heavy on floating point and takes over 20 minutes with softfloat.
-                               // Disabled per Issue 12688.
-                               continue
+                       if name == "spectralnorm" {
+                               switch os.Getenv("GO_BUILDER_NAME") {
+                               case "linux-arm-arm5", "linux-mips64-minux":
+                                       // Heavy on floating point and takes over 20 minutes with
+                                       // softfloat on arm5 builder and over 33 minutes on MIPS64
+                                       // builder with kernel FPU emulator.
+                                       // Disabled per Issue 12688.
+                                       continue
+                               }
                        }
                        t.registerTest("shootout:"+name, "../test/bench/shootout", "time", "./timing.sh", "-test", name)
                }