summaryrefslogtreecommitdiff
path: root/src/cmd/pack
diff options
context:
space:
mode:
authorDavid Crawshaw <david.crawshaw@zentus.com>2014-07-08 13:45:06 -0400
committerDavid Crawshaw <david.crawshaw@zentus.com>2014-07-08 13:45:06 -0400
commit1195e24c2be1efe259c8029852727fb6762747be (patch)
tree0dcab04910b7d1302b6f4849570c18d116a7fd55 /src/cmd/pack
parent54f1cc3ec174e40c6f7575dd6956c859f362a11f (diff)
downloadgo-1195e24c2be1efe259c8029852727fb6762747be.tar.gz
cmd/pack: skip test on android (no Go tool)
LGTM=minux R=golang-codereviews, minux CC=golang-codereviews https://codereview.appspot.com/107600043
Diffstat (limited to 'src/cmd/pack')
-rw-r--r--src/cmd/pack/pack_test.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/cmd/pack/pack_test.go b/src/cmd/pack/pack_test.go
index 486242603..e41cf3ce4 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)