]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: don't test FIPS when ASAN is on
authorDmitri Shuralyov <dmitshur@golang.org>
Fri, 22 Nov 2024 04:39:47 +0000 (23:39 -0500)
committerGopher Robot <gobot@golang.org>
Fri, 22 Nov 2024 05:22:24 +0000 (05:22 +0000)
commit4865aadc21acebc8039f914929f03c7042b2ae8d
tree4ed9e091c4d5e8d3b1969fa79ad3171de1122963
parentde76c0dff7b43a761786a9b5c75db2fb77797d62
cmd/dist: don't test FIPS when ASAN is on

CL 627603 added a clear error that FIPS+ASAN doesn't work, and
disabled a test in check_test.go. The :gofips140 test variants
in cmd/dist need to be disabled as well.

Remove a return after testing.T.Skipf since it's unreachable.

For #70321.
Fixes #70496.

Change-Id: Ia53830db1260a817aff1a82cbd91b725e0791437
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-asan-clang15
Reviewed-on: https://go-review.googlesource.com/c/go/+/631095
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
src/cmd/dist/test.go
src/crypto/internal/fips140/check/check.go
src/crypto/internal/fips140test/check_test.go