]> Cypherpunks repositories - gostls13.git/commit
crypto: centralize external test module fetches
authorFilippo Valsorda <filippo@golang.org>
Sun, 17 Nov 2024 11:04:24 +0000 (12:04 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 19 Nov 2024 23:02:28 +0000 (23:02 +0000)
commit931700a95e2463c75b62e3c232ef47207921ed5d
tree3bb05b5929a12f6dabd01fd59f63448cafeb5bf2
parent9776d028f4b99b9a935dae9f63f32871b77c49af
crypto: centralize external test module fetches

This has the important advantage of using the system GOMODCACHE when it
exists, avoiding the download on every "go test".

While at it, also consistently use testenv.Command.

Change-Id: Ic999ffa281f6da73fe601b0feba29e60982cce3d
Reviewed-on: https://go-review.googlesource.com/c/go/+/628755
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
TryBot-Bypass: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/crypto/ed25519/ed25519vectors_test.go
src/crypto/internal/cryptotest/fetchmodule.go [new file with mode: 0644]
src/crypto/internal/fipstest/acvp_test.go
src/crypto/tls/bogo_shim_test.go
src/go/build/deps_test.go