From: Cherry Zhang Date: Mon, 6 Apr 2020 15:39:44 +0000 (-0400) Subject: cmd/link: remove darwin/arm test X-Git-Tag: go1.15beta1~649 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7dc1c62cc9eb7a8c0c554dd6d67da9bd4ddeac1c;p=gostls13.git cmd/link: remove darwin/arm test 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 --- diff --git a/src/cmd/link/dwarf_test.go b/src/cmd/link/dwarf_test.go index 8a1b489300..5926f09e4a 100644 --- a/src/cmd/link/dwarf_test.go +++ b/src/cmd/link/dwarf_test.go @@ -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") }