Non-Linux builder hardware is more varied, and the important thing is
that we test on at least one builder.
Fixes #70014
Fixes #70013
Fixes #70012
Change-Id: I33c4483c8b2792f6a15d6532e8cbae98b2888ea5
Reviewed-on: https://go-review.googlesource.com/c/go/+/622096
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
import (
"crypto/internal/boring"
"crypto/internal/impl"
+ "internal/goos"
"internal/testenv"
"testing"
)
t.Run(name, f)
} else {
t.Run(name, func(t *testing.T) {
- if testenv.Builder() != "" {
+ // Report an error if we're on Linux CI (assumed to be the most
+ // consistent) and the builder can't test this implementation.
+ if testenv.Builder() != "" && goos.GOOS == "linux" {
if name == "SHA-NI" {
t.Skip("known issue, see golang.org/issue/69592")
}