Skip to content

Commit e31114d

Browse files
committed
cmd/dist: skip spectralnorm shootout test on the linux-arm-arm5 builder
Temporary fix to get the arm5 builder happy again. Without hardware floating point, this test takes over 20 minutes to run. A proper solution would probably be to run all the benchmark tests, but with a much lower iteration count, just to exercise the code. Updates #12688 Change-Id: Ie56c93d3bf2a5a693a33217ba1b1df3c6c856442 Reviewed-on: https://go-review.googlesource.com/14775 Reviewed-by: Dave Cheney <[email protected]> Reviewed-by: Minux Ma <[email protected]>
1 parent 3e47682 commit e31114d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/cmd/dist/test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,11 @@ func (t *tester) registerTests() {
451451
t.registerTest("wiki", "../doc/articles/wiki", "./test.bash")
452452
t.registerTest("codewalk", "../doc/codewalk", "time", "./run")
453453
for _, name := range t.shootoutTests() {
454+
if name == "spectralnorm" && os.Getenv("GO_BUILDER_NAME") == "linux-arm-arm5" {
455+
// Heavy on floating point and takes over 20 minutes with softfloat.
456+
// Disabled per Issue 12688.
457+
continue
458+
}
454459
t.registerTest("shootout:"+name, "../test/bench/shootout", "time", "./timing.sh", "-test", name)
455460
}
456461
}

0 commit comments

Comments
 (0)