diff options
author | Russ Cox <rsc@golang.org> | 2015-12-16 16:20:03 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2015-12-17 01:43:05 +0000 |
commit | e5ba367c10c8d819841da5ec3661d3d20fc1e765 (patch) | |
tree | c5fa3abf58c994a0d7fc953f5d06b9172d8f56e7 | |
parent | 691e63b7fe69102c4db83a96cea0e19a4c345841 (diff) | |
download | go-e5ba367c10c8d819841da5ec3661d3d20fc1e765.tar.gz go-e5ba367c10c8d819841da5ec3661d3d20fc1e765.zip |
go/build: disable test on nacl (and a few others, unnecessarily)
Fixes build.
Change-Id: Ia71fc031cc8eb575e5ab5323ff4084147d143744
Reviewed-on: https://go-review.googlesource.com/17867
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | src/go/build/build_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/go/build/build_test.go b/src/go/build/build_test.go index d0a2219ebc..07efc14292 100644 --- a/src/go/build/build_test.go +++ b/src/go/build/build_test.go @@ -5,6 +5,7 @@ package build import ( + "internal/testenv" "io" "os" "path/filepath" @@ -299,6 +300,7 @@ func TestShellSafety(t *testing.T) { } func TestImportVendor(t *testing.T) { + testenv.MustHaveGoBuild(t) // really must just have source ctxt := Default ctxt.GOPATH = "" p, err := ctxt.Import("golang.org/x/net/http2/hpack", filepath.Join(ctxt.GOROOT, "src/net/http"), AllowVendor) @@ -312,6 +314,7 @@ func TestImportVendor(t *testing.T) { } func TestImportVendorFailure(t *testing.T) { + testenv.MustHaveGoBuild(t) // really must just have source ctxt := Default ctxt.GOPATH = "" p, err := ctxt.Import("x.com/y/z", filepath.Join(ctxt.GOROOT, "src/net/http"), AllowVendor) |