mirror of
https://github.com/golang/go
synced 2024-11-26 07:27:59 -07:00
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>
This commit is contained in:
parent
a739306ca7
commit
2e4ceaf963
2
src/cmd/dist/test.go
vendored
2
src/cmd/dist/test.go
vendored
@ -903,7 +903,7 @@ func (t *tester) addCmd(dt *distTest, dir string, cmdline ...interface{}) *exec.
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (t *tester) iOS() bool {
|
func (t *tester) iOS() bool {
|
||||||
return (goos == "darwin" || goos == "ios") && goarch == "arm64"
|
return goos == "ios"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *tester) out(v string) {
|
func (t *tester) out(v string) {
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
// +build !nacl,!js
|
|
||||||
// run
|
// run
|
||||||
|
|
||||||
|
// +build !nacl,!js
|
||||||
|
// +build !darwin !arm64
|
||||||
|
|
||||||
|
// Skip on darwin/arm64 as it requires external linking, which brings in
|
||||||
|
// cgo, causing deadlock detection not working.
|
||||||
|
|
||||||
// Copyright 2014 The Go Authors. All rights reserved.
|
// Copyright 2014 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
// +build !nacl,!js
|
|
||||||
// run
|
// run
|
||||||
|
|
||||||
|
// +build !nacl,!js
|
||||||
|
// +build !darwin !arm64
|
||||||
|
|
||||||
|
// Skip on darwin/arm64 as it requires external linking, which brings in
|
||||||
|
// cgo, causing deadlock detection not working.
|
||||||
|
|
||||||
// Copyright 2019 The Go Authors. All rights reserved.
|
// Copyright 2019 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
@ -8,7 +8,8 @@
|
|||||||
// in a large address space.
|
// in a large address space.
|
||||||
|
|
||||||
// +build !aix
|
// +build !aix
|
||||||
// Address space starts at 1<<32 on AIX, so dummy is too far.
|
// +build !darwin !arm64
|
||||||
|
// Address space starts at 1<<32 on AIX and on darwin/arm64, so dummy is too far.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user