Skip to content

Commit

Permalink
cmd/dist: skip an unsupported test on darwin/arm
Browse files Browse the repository at this point in the history
Fixes the darwin/arm builder (I hope)

Change-Id: I8a3502a1cdd468d4bf9a1c895754ada420b305ce
Reviewed-on: https://go-review.googlesource.com/23684
Run-TryBot: Elias Naur <[email protected]>
Reviewed-by: David Crawshaw <[email protected]>
  • Loading branch information
Elias Naur committed Jun 2, 2016
1 parent 6c4f8cd commit 14968bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/dist/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ func (t *tester) cgoTest(dt *distTest) error {
cmd := t.addCmd(dt, "misc/cgo/test", "go", "test", t.tags(), "-ldflags", "-linkmode=auto", t.runFlag(""))
cmd.Env = env

if t.gohostos != "dragonfly" && t.gohostarch != "ppc64le" && t.goos != "android" {
if t.gohostos != "dragonfly" && t.gohostarch != "ppc64le" && t.goos != "android" && (t.goos != "darwin" || t.goarch != "arm") {
// linkmode=internal fails on dragonfly since errno is a TLS relocation.
// linkmode=internal fails on ppc64le because cmd/link doesn't
// handle the TOC correctly (issue 15409).
Expand Down

0 comments on commit 14968bc

Please sign in to comment.