Skip to content

Commit 5d731a3

Browse files
eliasnaurbradfitz
authored andcommitted
message/pipeline: skip test on GOOS=android
Change-Id: Ia5a915d14150465a916fd8fde1490794a60348ae Reviewed-on: https://go-review.googlesource.com/c/text/+/165757 Run-TryBot: Elias Naur <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent d14c52b commit 5d731a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

message/pipeline/pipeline_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
"os"
1515
"path"
1616
"path/filepath"
17+
"runtime"
1718
"strings"
1819
"testing"
1920

@@ -26,6 +27,9 @@ var genFiles = flag.Bool("gen", false, "generate output files instead of compari
2627
var setHelper = func(t *testing.T) {}
2728

2829
func TestFullCycle(t *testing.T) {
30+
if runtime.GOOS == "android" {
31+
t.Skip("cannot load outside packages on android")
32+
}
2933
const path = "./testdata"
3034
dirs, err := ioutil.ReadDir(path)
3135
if err != nil {

0 commit comments

Comments
 (0)