1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:14:40 -07:00

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

LGTM=minux
R=golang-codereviews, minux
CC=golang-codereviews
https://golang.org/cl/107600043
This commit is contained in:
David Crawshaw 2014-07-08 13:45:06 -04:00
parent b157077e34
commit 4e0214eb8e

View File

@ -186,8 +186,9 @@ func TestExtract(t *testing.T) {
// Test that pack-created archives can be understood by the tools. // Test that pack-created archives can be understood by the tools.
func TestHello(t *testing.T) { func TestHello(t *testing.T) {
if runtime.GOOS == "nacl" { switch runtime.GOOS {
t.Skip("skipping on nacl") case "android", "nacl":
t.Skipf("skipping on %s", runtime.GOOS)
} }
dir := tmpDir(t) dir := tmpDir(t)
@ -222,8 +223,9 @@ func TestHello(t *testing.T) {
// Test that pack works with very long lines in PKGDEF. // Test that pack works with very long lines in PKGDEF.
func TestLargeDefs(t *testing.T) { func TestLargeDefs(t *testing.T) {
if runtime.GOOS == "nacl" { switch runtime.GOOS {
t.Skip("skipping on nacl") case "android", "nacl":
t.Skipf("skipping on %s", runtime.GOOS)
} }
dir := tmpDir(t) dir := tmpDir(t)