commit | b8c6dab863a6bb7fceeb28cd882e272336b5d63d | [log] [tgz] |
---|---|---|
author | Elias Naur <mail@eliasnaur.com> | Fri Mar 01 21:40:45 2019 +0100 |
committer | Elias Naur <mail@eliasnaur.com> | Sat Mar 02 06:36:18 2019 +0000 |
tree | 1013332bbab5a0d632dbec3cc8cc86ca058da5fe | |
parent | 3ac37b7f944d1e40dbb52d47b8a5676582b8ae30 [diff] |
all: skip or fix tests for GOOS=android Some x/mobile tests are designed to run from a host with a device or emulator attached. Some fail if they run directly from a device, which is the case when GOOS=android. Fix the tests by skipping them or adjusting them to work on GOOS=android. Remove gomobile environment naïve variable expansion for $HOME; on Android devices HOME=/ so every path separator is replaced with $HOME. Fixes golang/go#30482 Change-Id: I553e708226922f6284163f0b7d7b1011a9502e34 Reviewed-on: https://go-review.googlesource.com/c/164799 Run-TryBot: Elias Naur <mail@eliasnaur.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.