]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link: remove darwin/arm test
authorCherry Zhang <cherryyz@google.com>
Mon, 6 Apr 2020 15:39:44 +0000 (11:39 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 6 Apr 2020 16:11:47 +0000 (16:11 +0000)
The darwin/arm port is removed in Go 1.15. Setting GOOS=darwin
GOARCH=arm will fail, therefore "go test cmd/link" on macOS will
fail (in non -short mode). Remove this test point.

Updates #37611.

Change-Id: Ia9531c4b4a6692a0c49153517af9fdddd1f3e0bf
Reviewed-on: https://go-review.googlesource.com/c/go/+/227341
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/dwarf_test.go

index 8a1b4893000c4a1099bae72857821cac953fec8e..5926f09e4a5da5bfe3b7dd2d237238097b96dd0d 100644 (file)
@@ -193,9 +193,7 @@ func TestDWARFiOS(t *testing.T) {
        }
        cc := "CC=" + runtime.GOROOT() + "/misc/ios/clangwrap.sh"
        // iOS doesn't allow unmapped segments, so iOS executables don't have DWARF.
-       testDWARF(t, "", false, cc, "CGO_ENABLED=1", "GOOS=darwin", "GOARCH=arm", "GOARM=7")
        testDWARF(t, "", false, cc, "CGO_ENABLED=1", "GOOS=darwin", "GOARCH=arm64")
        // However, c-archive iOS objects have embedded DWARF.
-       testDWARF(t, "c-archive", true, cc, "CGO_ENABLED=1", "GOOS=darwin", "GOARCH=arm", "GOARM=7")
        testDWARF(t, "c-archive", true, cc, "CGO_ENABLED=1", "GOOS=darwin", "GOARCH=arm64")
 }