From: David Crawshaw Date: Tue, 8 Jul 2014 17:43:02 +0000 (-0400) Subject: crypto/x509: skip test on android (no Go tool) X-Git-Tag: go1.4beta1~1154 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e50d059862dbb14225a4e1a17df42be984b93404;p=gostls13.git crypto/x509: skip test on android (no Go tool) LGTM=minux R=golang-codereviews, minux CC=golang-codereviews https://golang.org/cl/111970043 --- diff --git a/src/pkg/crypto/x509/x509_test.go b/src/pkg/crypto/x509/x509_test.go index bac3b6c7dc..56f7a98322 100644 --- a/src/pkg/crypto/x509/x509_test.go +++ b/src/pkg/crypto/x509/x509_test.go @@ -728,8 +728,9 @@ func TestParsePEMCRL(t *testing.T) { } func TestImports(t *testing.T) { - if runtime.GOOS == "nacl" { - t.Skip("skipping on nacl") + switch runtime.GOOS { + case "android", "nacl": + t.Skipf("skipping on %s", runtime.GOOS) } if err := exec.Command("go", "run", "x509_test_import.go").Run(); err != nil {