mirror of https://github.com/golang/go.git
cmd/internal/obj/x86: skip test on darwin/arm64
Just like darwin/arm, cannot fork.. Change-Id: If565afbceb79013b9e3103e1e28d93691e9fc0a5 Reviewed-on: https://go-review.googlesource.com/8826 Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
parent
2d8748eb8b
commit
2f14b16149
|
|
@ -148,9 +148,9 @@ func parseOutput(t *testing.T, td *ParsedTestData, asmout []byte) {
|
|||
}
|
||||
|
||||
func TestDynlink(t *testing.T) {
|
||||
if runtime.GOOS == "nacl" || runtime.GOOS == "android" || (runtime.GOOS == "darwin" && runtime.GOARCH == "arm") {
|
||||
// iOS and nacl cannot fork
|
||||
t.Skipf("skipping on %s/%s", runtime.GOOS, runtime.GOARCH)
|
||||
iOS := runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64")
|
||||
if runtime.GOOS == "nacl" || runtime.GOOS == "android" || iOS {
|
||||
t.Skipf("skipping on %s/%s, cannot fork", runtime.GOOS, runtime.GOARCH)
|
||||
}
|
||||
testdata := parseTestData(t)
|
||||
asmout := asmOutput(t, testdata.input)
|
||||
|
|
|
|||
Loading…
Reference in New Issue