1
0
mirror of https://github.com/golang/go synced 2024-11-11 23:50:22 -07:00

cmd/dist: skip testcarchive test in Android and iOS

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>
This commit is contained in:
Elias Naur 2016-03-24 10:16:46 +01:00
parent 0bb62299b0
commit 570a2b0eec

View 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") {