]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go, cmd/vet: skip tests on Android
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 11 Jun 2015 14:26:44 +0000 (07:26 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 11 Jun 2015 14:33:40 +0000 (14:33 +0000)
Might get the Android build passing, or at least going further.

Change-Id: I08f97156a687abe5a3d95203922f4ffd84fbb212
Reviewed-on: https://go-review.googlesource.com/10924
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/go/note_test.go
src/cmd/vet/vet_test.go

index efe8198c73cd369701b41f11311e07dc5c4d9fa9..f2390cbae5d910c6352a34c07fb8245c3644e50b 100644 (file)
@@ -18,6 +18,9 @@ func TestNoteReading(t *testing.T) {
        case "darwin/arm", "darwin/arm64", "nacl/386", "nacl/amd64p32", "nacl/arm":
                t.Skipf("skipping on %s/%s - no file system", runtime.GOOS, runtime.GOARCH)
        }
+       if runtime.GOOS == "android" {
+               t.Skipf("skipping; requires go tool")
+       }
 
        // TODO: Replace with new test scaffolding by iant.
        d, err := ioutil.TempDir("", "go-test-")
index 00fcb02754c7944e2f0db6354212d49b41fdd013..ae4af6e104cf51997796e5c86fbd63cf0bd12357 100644 (file)
@@ -35,6 +35,8 @@ func TestVet(t *testing.T) {
                if strings.HasPrefix(runtime.GOARCH, "arm") {
                        t.Skipf("skipping test; no command execution on darwin/%s", runtime.GOARCH)
                }
+       case "android":
+               t.Skip("skipping test; no go toolchain available")
        }
 
        // go build