go/packages: skip tests for GOOS=android

Change-Id: I93dacb676e008682008351962cdafec2d3734bac
Reviewed-on: https://go-review.googlesource.com/c/tools/+/165718
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
Elias Naur 2019-03-06 10:56:26 +01:00 committed by Brad Fitzpatrick
parent f8c04913df
commit 1f7a77873d

View File

@ -1515,6 +1515,8 @@ func testConfigDefaultEnv(t *testing.T, exporter packagestest.Exporter) {
driverScript packagestest.Writer
)
switch runtime.GOOS {
case "android":
t.Skip("doesn't run on android")
case "windows":
// TODO(jayconrod): write an equivalent batch script for windows.
// Hint: "type" can be used to read a file to stdout.