aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2025-09-22 12:59:20 +0200
committerGopher Robot <gobot@golang.org>2025-09-22 08:07:18 -0700
commit32dfd69282ac86b0ce49909d36e2a4e5797ad25c (patch)
tree34b976a2896b4acad519239b70bd342b7cc79865 /src/cmd
parent7f6ff5ec3edfa1ed82014ad53f6cad3dc023f48e (diff)
downloadgo-32dfd69282ac86b0ce49909d36e2a4e5797ad25c.tar.xz
cmd/dist: disable FIPS 140-3 mode when testing maphash with purego
hash/maphash can't be built with FIPS 140-3 mode and the purego tag since CL 703095. That change precludes running "GODEBUG=fips140=on go dist test" with, as there is a test variant that tests maphash with the purego tag. Change-Id: Iaedfaf3bb79281a799ef95283310c96d2e64207f Reviewed-on: https://go-review.googlesource.com/c/go/+/705775 Auto-Submit: Quim Muntal <quimmuntal@gmail.com> Reviewed-by: Filippo Valsorda <filippo@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Roland Shoemaker <roland@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/dist/test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index 7c26d001bc..1e74438f48 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -705,6 +705,7 @@ func (t *tester) registerTests() {
timeout: 300 * time.Second,
tags: []string{"purego"},
pkg: "hash/maphash",
+ env: []string{"GODEBUG=fips140=off"}, // FIPS 140-3 mode is incompatible with purego
})
}