]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: don't run internal link tests on arm or darwin/arm64
authorIan Lance Taylor <iant@golang.org>
Wed, 18 Nov 2015 17:28:24 +0000 (09:28 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 18 Nov 2015 17:35:27 +0000 (17:35 +0000)
Change-Id: I373a64fc30dee804d99e106d4627b780e1846917
Reviewed-on: https://go-review.googlesource.com/16999
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/dist/test.go

index cbc820336e8671c0f70079a9122e6e960d6ac888..0f30ea7b2099d3eb13ed5098a78377101e03859f 100644 (file)
@@ -370,6 +370,16 @@ func (t *tester) registerTests() {
                        break
                }
 
+               // ARM libgcc may be Thumb, which internal linking does not support.
+               if t.goarch == "arm" {
+                       break
+               }
+
+               // Darwin ARM64 fails with internal linking.
+               if t.goos == "darwin" && t.goarch == "arm64" {
+                       break
+               }
+
                pkg := pkg
                t.tests = append(t.tests, distTest{
                        name:    "nolibgcc:" + pkg,