diff options
author | Filippo Valsorda <filippo@golang.org> | 2024-02-06 13:32:39 +0100 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2024-03-04 17:29:44 +0000 |
commit | 8a57cc8e3749f05134c82d7750b4ed1831f4d846 (patch) | |
tree | 51ea2d31670b44c3314b12ae347031913800de6f /src/cmd/dist/test.go | |
parent | dff3a00ceaf63385bcde984e1ce7013e0d6ab7c3 (diff) | |
download | go-8a57cc8e3749f05134c82d7750b4ed1831f4d846.tar.gz go-8a57cc8e3749f05134c82d7750b4ed1831f4d846.zip |
crypto: use and test purego tag consistently
Fixes #58636
Updates #23172
Change-Id: I578a5597f467be45a7d6fb7582b24855b2e6512b
Reviewed-on: https://go-review.googlesource.com/c/go/+/561935
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd/dist/test.go')
-rw-r--r-- | src/cmd/dist/test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 80a134becd..aed59db9d5 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -691,6 +691,14 @@ func (t *tester) registerTests() { }) } + // Check that all crypto packages compile with the purego build tag. + t.registerTest("crypto with tag purego", &goTest{ + variant: "purego", + tags: []string{"purego"}, + pkg: "crypto/...", + runTests: "^$", // only ensure they compile + }) + // Test ios/amd64 for the iOS simulator. if goos == "darwin" && goarch == "amd64" && t.cgoEnabled { t.registerTest("GOOS=ios on darwin/amd64", |