mirror of
https://github.com/golang/go
synced 2024-11-17 21:04:43 -07:00
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>
This commit is contained in:
parent
691e63b7fe
commit
e5ba367c10
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user