]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/goobj: skip tests on some $GOOS/arm
authorHiroshi Ioka <hirochachacha@gmail.com>
Sat, 9 Sep 2017 10:09:07 +0000 (19:09 +0900)
committerIan Lance Taylor <iant@golang.org>
Sun, 10 Sep 2017 10:08:55 +0000 (10:08 +0000)
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>

src/cmd/internal/goobj/goobj_test.go

index 37fdcbb5cc31ffd120a0228c7040b0f7bd93691d..5375c4e712e6230dc8a029b819c8356dade5f121 100644 (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 {