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:
David Crawshaw 2015-04-11 19:40:16 -04:00
parent 2d8748eb8b
commit 2f14b16149
1 changed files with 3 additions and 3 deletions

View File

@ -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)