Commit b1517c39 authored by David Crawshaw's avatar David Crawshaw

crypto/x509: skip tests not made for darwin/arm

Change-Id: I8b18dc840425b72d7172a35cb0ba004bd156492d
Reviewed-on: https://go-review.googlesource.com/6252Reviewed-by: 's avatarHyang-Ah Hana Kim <hyangah@gmail.com>
parent 5028f8c9
......@@ -4,9 +4,16 @@
package x509
import "testing"
import (
"runtime"
"testing"
)
func TestSystemRoots(t *testing.T) {
if runtime.GOARCH == "arm" {
t.Skipf("skipping on %s/%s", runtime.GOOS, runtime.GOARCH)
}
sysRoots := systemRootsPool() // actual system roots
execRoots, err := execSecurityRoots() // non-cgo roots
......
......@@ -829,6 +829,10 @@ func TestImports(t *testing.T) {
switch runtime.GOOS {
case "android", "nacl":
t.Skipf("skipping on %s", runtime.GOOS)
case "darwin":
if runtime.GOARCH == "arm" {
t.Skipf("skipping on %s/%s", runtime.GOOS, runtime.GOARCH)
}
}
if err := exec.Command("go", "run", "x509_test_import.go").Run(); err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment