Skip to content

Commit

Permalink
cmd/internal/goobj: skip tests on some $GOOS/arm
Browse files Browse the repository at this point in the history
Updates #21817

Change-Id: I77ffaf8a7e54465a5b73691b896edcb20c29440f
Reviewed-on: https://go-review.googlesource.com/62351
Reviewed-by: David du Colombier <0intro@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
  • Loading branch information
hirochachacha authored and ianlancetaylor committed Sep 10, 2017
1 parent 04212a1 commit 43807e0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/cmd/internal/goobj/goobj_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ func TestMain(m *testing.M) {
return
}

if runtime.GOOS == "linux" && runtime.GOARCH == "arm" {
return // skip tests due to #19811
if runtime.GOARCH == "arm" {
switch runtime.GOOS {
case "darwin", "android", "nacl":
default:
return // skip tests due to #19811
}
}

if err := buildGoobj(); err != nil {
Expand Down

0 comments on commit 43807e0

Please sign in to comment.