Commit 5cc6bfe2 authored by David Crawshaw's avatar David Crawshaw

go/build: skip GOROOT tests on darwin/arm

Change-Id: If2d303caae933eec61634152e5d83faaba591315
Reviewed-on: https://go-review.googlesource.com/6660Reviewed-by: default avatarHyang-Ah Hana Kim <hyangah@gmail.com>
parent 527b478e
......@@ -109,6 +109,10 @@ func TestMultiplePackageImport(t *testing.T) {
}
func TestLocalDirectory(t *testing.T) {
if runtime.GOOS == "darwin" && runtime.GOARCH == "arm" {
t.Skipf("skipping on %s/%s, no valid GOROOT", runtime.GOOS, runtime.GOARCH)
}
cwd, err := os.Getwd()
if err != nil {
t.Fatal(err)
......@@ -223,6 +227,10 @@ func TestMatchFile(t *testing.T) {
}
func TestImportCmd(t *testing.T) {
if runtime.GOOS == "darwin" && runtime.GOARCH == "arm" {
t.Skipf("skipping on %s/%s, no valid GOROOT", runtime.GOOS, runtime.GOARCH)
}
p, err := Import("cmd/internal/objfile", "", 0)
if err != nil {
t.Fatal(err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment