diff options
author | Russ Cox <rsc@golang.org> | 2014-05-20 12:10:19 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-05-20 12:10:19 -0400 |
commit | 0c2a727477908dc0adbfcb05baac34b4ba4fa309 (patch) | |
tree | 8bc790864f3e4768d487e65bb05ef449dfc46e2f /src/cmd/pack | |
parent | f374dd30a05ed11a994d312ae4e128e731ee55a0 (diff) | |
download | go-git-0c2a727477908dc0adbfcb05baac34b4ba4fa309.tar.gz |
build: make nacl pass
Add nacl.bash, the NaCl version of all.bash.
It's a separate script because it builds a variant of package syscall
with a large zip file embedded in it, containing all the input files
needed for tests.
Disable various tests new since the last round, mostly the ones using os/exec.
Fixes #7945.
LGTM=dave
R=golang-codereviews, remyoudompheng, dave, bradfitz
CC=golang-codereviews
https://golang.org/cl/100590044
Diffstat (limited to 'src/cmd/pack')
-rw-r--r-- | src/cmd/pack/pack_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cmd/pack/pack_test.go b/src/cmd/pack/pack_test.go index e634c86f76..486242603a 100644 --- a/src/cmd/pack/pack_test.go +++ b/src/cmd/pack/pack_test.go @@ -14,6 +14,7 @@ import ( "os/exec" "path/filepath" "regexp" + "runtime" "testing" "time" "unicode/utf8" @@ -185,6 +186,10 @@ 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") + } + dir := tmpDir(t) defer os.RemoveAll(dir) hello := filepath.Join(dir, "hello.go") @@ -217,6 +222,10 @@ 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") + } + dir := tmpDir(t) defer os.RemoveAll(dir) large := filepath.Join(dir, "large.go") |