]> Cypherpunks repositories - gostls13.git/commit
cmd/objdump: use the test binary as 'objdump' instead of rebuilding it
authorBryan C. Mills <bcmills@google.com>
Tue, 15 Nov 2022 15:37:22 +0000 (10:37 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 15 Nov 2022 20:23:17 +0000 (20:23 +0000)
commita3d545933fcc8bdd2edad56cc3f8c2aa6140814d
treeb5fcb233c958a210a9941342ed0af13302d48db0
parent5e73f6a02928518bd8ea0a7b1112ce5e536d5dd6
cmd/objdump: use the test binary as 'objdump' 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: Icd22062ab75964a74d011c81ea6c99be80bece18
Reviewed-on: https://go-review.googlesource.com/c/go/+/450704
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/objdump/objdump_test.go