aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dist/test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/dist/test.go')
-rw-r--r--src/cmd/dist/test.go8
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",