cmd/nm: skip test on android (no Go tool)

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/107590043
This commit is contained in:
David Crawshaw 2014-07-08 13:44:41 -04:00
parent cb2355bbb3
commit b157077e34
1 changed files with 3 additions and 2 deletions

View 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")