From: David Crawshaw Date: Tue, 8 Jul 2014 17:45:06 +0000 (-0400) Subject: cmd/pack: skip test on android (no Go tool) X-Git-Tag: go1.4beta1~1150 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4e0214eb8ee120b089d529a9ea3291e69ff2c3a0;p=gostls13.git cmd/pack: skip test on android (no Go tool) LGTM=minux R=golang-codereviews, minux CC=golang-codereviews https://golang.org/cl/107600043 --- diff --git a/src/cmd/pack/pack_test.go b/src/cmd/pack/pack_test.go index 486242603a..e41cf3ce42 100644 --- a/src/cmd/pack/pack_test.go +++ b/src/cmd/pack/pack_test.go @@ -186,8 +186,9 @@ func TestExtract(t *testing.T) { // Test that pack-created archives can be understood by the tools. func TestHello(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) } dir := tmpDir(t) @@ -222,8 +223,9 @@ func TestHello(t *testing.T) { // Test that pack works with very long lines in PKGDEF. func TestLargeDefs(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) } dir := tmpDir(t)