cmd/gomobile: skip TestWriter

TestWriter is flaky and often fails on the trybots. Skip this as a
tentative solution.

Updates golang/go#40290

Change-Id: I3a8aa74fb6cb727a216da4046edaa159f9aa2dc3
Reviewed-on: https://go-review.googlesource.com/c/mobile/+/243839
Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Hajime Hoshi 2020-07-21 18:50:27 +09:00
parent bcce011712
commit 973feb4309
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@ import (
) )
func TestWriter(t *testing.T) { func TestWriter(t *testing.T) {
if os.Getenv("GO_BUILDER_NAME") == "linux-amd64-androidemu" {
t.Skip("skipping on linux-amd64-androidemu builder; see golang.org/issue/40290")
}
block, _ := pem.Decode([]byte(debugCert)) block, _ := pem.Decode([]byte(debugCert))
if block == nil { if block == nil {
t.Fatal("no cert") t.Fatal("no cert")