]> Cypherpunks repositories - gostls13.git/commit
cmd/nm: use the test binary as 'nm' instead of rebuilding it
authorBryan C. Mills <bcmills@google.com>
Tue, 15 Nov 2022 15:30:10 +0000 (10:30 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 15 Nov 2022 20:22:16 +0000 (20:22 +0000)
commit5e73f6a02928518bd8ea0a7b1112ce5e536d5dd6
tree9071cb0552a744416807ccd4f96c3efb5fcfffd0
parent0b82b670ed0ba6826ce8215e816df9c8016df323
cmd/nm: use the test binary as 'nm' instead of rebuilding it

This not only reduces the latency of the test, but also respects
build flags like '-race' and '-cover' passed to the 'go test' command.

Change-Id: Iffdc60d444a9ff1d4ff5e688bca1c2ef0dfa03c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/450703
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/nm/nm_test.go