cmd/dist: don't run internal link tests on arm or darwin/arm64

Change-Id: I373a64fc30dee804d99e106d4627b780e1846917
Reviewed-on: https://go-review.googlesource.com/16999
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Ian Lance Taylor 2015-11-18 09:28:24 -08:00
parent 5af2be8604
commit 921e7dfd06
1 changed files with 10 additions and 0 deletions

10
src/cmd/dist/test.go vendored
View 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,