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

src/cmd/nm/nm_test.go

index f4e47a42da0d3dcc03f1fe000d7d498488bbc036..74773877f3226e297953f1ca718f6622cd61e6b6 100644 (file)
@@ -55,8 +55,9 @@ func checkSymbols(t *testing.T, nmoutput []byte) {
 }
 
 func TestNM(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)
        }
 
        tmpDir, err := ioutil.TempDir("", "TestNM")