]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/x509: skip test on android (no Go tool)
authorDavid Crawshaw <david.crawshaw@zentus.com>
Tue, 8 Jul 2014 17:43:02 +0000 (13:43 -0400)
committerDavid Crawshaw <david.crawshaw@zentus.com>
Tue, 8 Jul 2014 17:43:02 +0000 (13:43 -0400)
LGTM=minux
R=golang-codereviews, minux
CC=golang-codereviews
https://golang.org/cl/111970043

src/pkg/crypto/x509/x509_test.go

index bac3b6c7dc0d13614c1e2238de46f92037e94ef7..56f7a98322dad11172b0275ef86b185baee4e59b 100644 (file)
@@ -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 {