1
0
mirror of https://github.com/golang/go synced 2024-11-24 08:20:03 -07:00

cmd/internal/goobj: skip tests on some $GOOS/arm

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>
This commit is contained in:
Hiroshi Ioka 2017-09-09 19:09:07 +09:00 committed by Ian Lance Taylor
parent 04212a16d0
commit 43807e0f47

View File

@ -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 {