]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/obj/x86: skip test on darwin/arm64
authorDavid Crawshaw <crawshaw@golang.org>
Sat, 11 Apr 2015 23:40:16 +0000 (19:40 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Sun, 12 Apr 2015 11:52:53 +0000 (11:52 +0000)
Just like darwin/arm, cannot fork..

Change-Id: If565afbceb79013b9e3103e1e28d93691e9fc0a5
Reviewed-on: https://go-review.googlesource.com/8826
Reviewed-by: Minux Ma <minux@golang.org>
src/cmd/internal/obj/x86/obj6_test.go

index 7b64fe962bce8189ec243bba9feacd75aa8e70f2..b4526fc9a681f50e460c8d674024866dd3ce0078 100644 (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)