]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/cryptotest: add SkipTestAllocations
authorFilippo Valsorda <filippo@golang.org>
Fri, 8 Nov 2024 13:41:06 +0000 (14:41 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 19 Nov 2024 00:30:25 +0000 (00:30 +0000)
commitecdc8c1b3f54367338de37174531f81574c791b2
tree87a8977786333f52961341f1dd387fb2db738bda
parentcf531372b24c926db21e7eeac6e8066f0c604368
crypto/internal/cryptotest: add SkipTestAllocations

[                                                                     ]
[    It has been [ 0 ] days since Filippo broke a TestAllocations.    ]
[                                                                     ]

Concentrate all the skips in one place, so we don't have to re-discover
always the same ones via trial and error.

This might over-skip fixable allocations, but all these targets are not
fast anyway, so they are not worth going back for.

Removed the sysrand TestAllocations because it causes an import loop
with cryptotest and it's covered by TestAllocations in crypto/rand.

Change-Id: Icd40e97f9128e037f567147f8c9dafa758a47fac
Reviewed-on: https://go-review.googlesource.com/c/go/+/626438
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
12 files changed:
src/crypto/ed25519/ed25519_test.go
src/crypto/internal/cryptotest/allocations.go [new file with mode: 0644]
src/crypto/internal/edwards25519/edwards25519_test.go
src/crypto/internal/fips/sha3/sha3_test.go
src/crypto/internal/nistec/nistec_test.go
src/crypto/internal/sysrand/rand_test.go
src/crypto/md5/md5_test.go
src/crypto/rand/rand_test.go
src/crypto/rsa/rsa_test.go
src/crypto/sha1/sha1_test.go
src/crypto/sha256/sha256_test.go
src/crypto/sha512/sha512_test.go