diff options
author | Cherry Zhang <cherryyz@google.com> | 2020-09-17 15:02:26 -0400 |
---|---|---|
committer | Cherry Zhang <cherryyz@google.com> | 2020-10-06 21:56:24 +0000 |
commit | db428ad7b61ed757671162054252b4326045e96c (patch) | |
tree | 4d08bbf58f17dd8e563e388d364b9b3714112d83 /src/path | |
parent | 2e4ceaf963fc2a0ce95a198769012e62ec4e28ae (diff) | |
download | go-git-db428ad7b61ed757671162054252b4326045e96c.tar.gz |
all: enable more tests on macOS/ARM64
Updates #38485.
Change-Id: Iac96f5ffe88521fcb11eab306d0df6463bdce046
Reviewed-on: https://go-review.googlesource.com/c/go/+/256920
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/path')
-rw-r--r-- | src/path/filepath/path_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path/filepath/path_test.go b/src/path/filepath/path_test.go index ca100ff071..6a8700e413 100644 --- a/src/path/filepath/path_test.go +++ b/src/path/filepath/path_test.go @@ -431,7 +431,7 @@ func chtmpdir(t *testing.T) (restore func()) { } func TestWalk(t *testing.T) { - if (runtime.GOOS == "darwin" || runtime.GOOS == "ios") && runtime.GOARCH == "arm64" { + if runtime.GOOS == "ios" { restore := chtmpdir(t) defer restore() } @@ -1278,7 +1278,7 @@ func TestDriveLetterInEvalSymlinks(t *testing.T) { } func TestBug3486(t *testing.T) { // https://golang.org/issue/3486 - if (runtime.GOOS == "darwin" || runtime.GOOS == "ios") && runtime.GOARCH == "arm64" { + if runtime.GOOS == "ios" { t.Skipf("skipping on %s/%s", runtime.GOOS, runtime.GOARCH) } root, err := filepath.EvalSymlinks(runtime.GOROOT() + "/test") |