]> Cypherpunks repositories - gostls13.git/commit
cmd/pack: use the test binary as 'pack' instead of rebuilding it
authorBryan C. Mills <bcmills@google.com>
Tue, 15 Nov 2022 15:44:36 +0000 (10:44 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 15 Nov 2022 20:24:36 +0000 (20:24 +0000)
commitaf7437cc8a62ca21b907628aed3ee484d4220317
treea41c57785ba23a9e4aa5f56d97e6c8be1e6c17ca
parent8373bfe88e92a77a498caeab2ca729330b007483
cmd/pack: use the test binary as 'pack' 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: Ifaf396465f54ad0a28977b6c0a4b87dbc359de37
Reviewed-on: https://go-review.googlesource.com/c/go/+/450706
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/pack/pack_test.go