]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/gc: make tests run faster
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 3 Nov 2016 00:55:29 +0000 (17:55 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 3 Nov 2016 01:07:08 +0000 (01:07 +0000)
commit66504485ebd8d7a75b68c025cc15835b016a1ae4
tree6734eda81d0d6d6bdb68d14b062055244f281938
parent827f2accc1a25b77003303d3c35db5fc054bf8f1
cmd/compile/internal/gc: make tests run faster

TestAssembly takes 20s on my machine,
which is too slow for normal operation.
Marking as -short has its dangers (#17472),
but hopefully we'll soon have a builder for that.

All the SSA tests are hermetic and not time sensitive
and can thus be run in parallel.
Reduces the cmd/compile/internal/gc test time during
all.bash on my laptop from 42s to 7s.

Updates #17751

Change-Id: Idd876421db23b9fa3475e8a9b3355a5dc92a5a29
Reviewed-on: https://go-review.googlesource.com/32585
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/asm_test.go
src/cmd/compile/internal/gc/ssa_test.go