]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/ld: run tests in parallel
authorIan Lance Taylor <iant@golang.org>
Fri, 7 Dec 2018 23:16:54 +0000 (15:16 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 8 Dec 2018 00:27:08 +0000 (00:27 +0000)
commit353795c83975d457f34c599bed20328a9b8f1cc8
tree9808f28df9330c87afbc6c17918e726563645815
parentea6259d5e9d57f247b7d877d4d04602b74ae5155
cmd/link/internal/ld: run tests in parallel

Also skip TestNooptCgoBuild in short mode.

Also fix a couple of obscure constants to use values named in
cmd/internal/dwarf.

This brings the time of the cmd/link/internal/ld tests down to about 1
second on my laptop.

Updates #26470

Change-Id: I71c896f30fd314a81d9090f1b6d02edc4174a808
Reviewed-on: https://go-review.googlesource.com/c/153259
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/link/internal/ld/dwarf_test.go
src/cmd/link/internal/ld/ld_test.go
src/cmd/link/internal/ld/nooptcgolink_test.go