1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:34:45 -07:00

path/filepath: skip test on darwin/arm64

Just like darwin/arm.

Change-Id: I4b0ab4a104f2c8a821ca8b5fa8d266e51883709f
Reviewed-on: https://go-review.googlesource.com/8816
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
David Crawshaw 2015-04-11 19:16:24 -04:00
parent d6d423b99b
commit 8c5f66bce4

View File

@ -420,9 +420,12 @@ func chtmpdir(t *testing.T) (restore func()) {
}
func TestWalk(t *testing.T) {
if runtime.GOOS == "darwin" && runtime.GOARCH == "arm" {
restore := chtmpdir(t)
defer restore()
if runtime.GOOS == "darwin" {
switch runtime.GOARCH {
case "arm", "arm64":
restore := chtmpdir(t)
defer restore()
}
}
makeTree(t)
errors := make([]error, 0, 10)
@ -1033,8 +1036,11 @@ func TestDriveLetterInEvalSymlinks(t *testing.T) {
}
func TestBug3486(t *testing.T) { // http://golang.org/issue/3486
if runtime.GOOS == "darwin" && runtime.GOARCH == "arm" {
t.Skipf("skipping on %s/%s", runtime.GOOS, runtime.GOARCH)
if runtime.GOOS == "darwin" {
switch runtime.GOARCH {
case "arm", "arm64":
t.Skipf("skipping on %s/%s", runtime.GOOS, runtime.GOARCH)
}
}
root, err := filepath.EvalSymlinks(runtime.GOROOT() + "/test")
if err != nil {