]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: skip testcarchive test in Android and iOS
authorElias Naur <elias.naur@gmail.com>
Thu, 24 Mar 2016 09:16:46 +0000 (10:16 +0100)
committerElias Naur <elias.naur@gmail.com>
Thu, 24 Mar 2016 14:15:17 +0000 (14:15 +0000)
CL 20892 converted the misc/cgo/testcarchive test to Go.
Unfortunately, dist does not (yet) support tests running off the host
so the testcarchive is disabled for now.

For #14318

Change-Id: Iab3d0a7b5309187a603b48f22a7fa736f089f89d
Reviewed-on: https://go-review.googlesource.com/21070
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/dist/test.go

index 0f28a71fc933d57089c88b3959aa86152e7430e0..d8eb0f8a4887311829bc0ba6114077dcc2e80921 100644 (file)
@@ -496,7 +496,9 @@ func (t *tester) registerTests() {
                                },
                        })
                }
-               if t.supportedBuildmode("c-archive") {
+               if t.supportedBuildmode("c-archive") && t.goos != "android" && !t.iOS() {
+                       // TODO(elias.naur): reenable on android and iOS
+                       // golang.org/issue/8345
                        t.registerTest("testcarchive", "../misc/cgo/testcarchive", "go", "test", "carchive_test.go")
                }
                if t.supportedBuildmode("c-shared") {