1
0
mirror of https://github.com/golang/go synced 2024-11-18 00:54:45 -07:00

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 <bradfitz@golang.org>
This commit is contained in:
Shenghou Ma 2015-11-14 00:06:46 -05:00 committed by Minux Ma
parent 754f707f5f
commit 3a96bf0d80

13
src/cmd/dist/test.go vendored
View 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)
}