]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/addr2line: skip test on android
authorDavid Crawshaw <david.crawshaw@zentus.com>
Tue, 8 Jul 2014 17:45:31 +0000 (13:45 -0400)
committerDavid Crawshaw <david.crawshaw@zentus.com>
Tue, 8 Jul 2014 17:45:31 +0000 (13:45 -0400)
LGTM=minux
R=golang-codereviews, minux
CC=golang-codereviews
https://golang.org/cl/104600043

src/cmd/addr2line/addr2line_test.go

index b278d08ce2aded4c564b896f606bd3e42d378b5f..10d1dc92258e01d1e76df8f71634b33f93859a68 100644 (file)
@@ -92,8 +92,9 @@ func testAddr2Line(t *testing.T, exepath, addr string) {
 
 // This is line 93. The test depends on that.
 func TestAddr2Line(t *testing.T) {
-       if runtime.GOOS == "nacl" {
-               t.Skip("skipping on nacl")
+       switch runtime.GOOS {
+       case "nacl", "android":
+               t.Skipf("skipping on %s", runtime.GOOS)
        }
 
        syms := loadSyms(t)