Commit 2f14b161 authored by David Crawshaw's avatar David Crawshaw

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/8826Reviewed-by: default avatarMinux Ma <minux@golang.org>
parent 2d8748eb
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment