Skip to content

Commit 3a96bf0

Browse files
committed
cmd/dist: disable shootout/spectralnorm on linux/mips64 builder
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 <[email protected]>
1 parent 754f707 commit 3a96bf0

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/cmd/dist/test.go

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,10 +454,15 @@ func (t *tester) registerTests() {
454454
t.registerTest("wiki", "../doc/articles/wiki", "./test.bash")
455455
t.registerTest("codewalk", "../doc/codewalk", "time", "./run")
456456
for _, name := range t.shootoutTests() {
457-
if name == "spectralnorm" && os.Getenv("GO_BUILDER_NAME") == "linux-arm-arm5" {
458-
// Heavy on floating point and takes over 20 minutes with softfloat.
459-
// Disabled per Issue 12688.
460-
continue
457+
if name == "spectralnorm" {
458+
switch os.Getenv("GO_BUILDER_NAME") {
459+
case "linux-arm-arm5", "linux-mips64-minux":
460+
// Heavy on floating point and takes over 20 minutes with
461+
// softfloat on arm5 builder and over 33 minutes on MIPS64
462+
// builder with kernel FPU emulator.
463+
// Disabled per Issue 12688.
464+
continue
465+
}
461466
}
462467
t.registerTest("shootout:"+name, "../test/bench/shootout", "time", "./timing.sh", "-test", name)
463468
}

0 commit comments

Comments
 (0)