]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: skip SWIG tests on Android
authorElias Naur <elias.naur@gmail.com>
Sat, 18 Nov 2017 10:43:43 +0000 (11:43 +0100)
committerElias Naur <elias.naur@gmail.com>
Sat, 18 Nov 2017 16:15:19 +0000 (16:15 +0000)
They were added in CL 78175 but doesn't run on Android (yet). Skip
them for now.

For the Android builders.

Change-Id: I3b4bfe1f0d820ab98cf50aaab1ee2fad1a44a851
Reviewed-on: https://go-review.googlesource.com/78615
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/test.go

index 3339e0437af84611783cfb8cea42dd22a0d0720f..bbc2a0f4ad8062f9addf91aa5a24eca64bcc8d2c 100644 (file)
@@ -573,7 +573,7 @@ func (t *tester) registerTests() {
                                },
                        })
                }
-               if swig, _ := exec.LookPath("swig"); swig != "" {
+               if swig, _ := exec.LookPath("swig"); swig != "" && goos != "android" {
                        t.tests = append(t.tests, distTest{
                                name:    "swig_stdio",
                                heading: "../misc/swig/stdio",