aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dist
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2020-09-17 12:39:43 -0400
committerCherry Zhang <cherryyz@google.com>2020-10-06 21:55:49 +0000
commit2e4ceaf963fc2a0ce95a198769012e62ec4e28ae (patch)
treed557ddd183e6ce09d50633205971e6f1edce456b /src/cmd/dist
parenta739306ca7d9ea3a98acca59b853fe889f04c28c (diff)
downloadgo-2e4ceaf963fc2a0ce95a198769012e62ec4e28ae.tar.xz
cmd/dist: enable more tests on macOS/ARM64
Unlike iOS, macOS ARM64 is more of a fully featured OS. Enable more tests. Updates #38485. Change-Id: I2e2240c848d21996db2b950a4a6856987f7a652c Reviewed-on: https://go-review.googlesource.com/c/go/+/256919 Trust: Cherry Zhang <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/cmd/dist')
-rw-r--r--src/cmd/dist/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index da894e3eef..abe496fdee 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -903,7 +903,7 @@ func (t *tester) addCmd(dt *distTest, dir string, cmdline ...interface{}) *exec.
}
func (t *tester) iOS() bool {
- return (goos == "darwin" || goos == "ios") && goarch == "arm64"
+ return goos == "ios"
}
func (t *tester) out(v string) {