Commit 07f00cf1 authored by David Crawshaw's avatar David Crawshaw

cmd/test: require external linking for c-archive

Change-Id: I9ceceb29291ea9f5d7b675dfabd665c5e3618471
Reviewed-on: https://go-review.googlesource.com/8955Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 99162ca1
......@@ -272,7 +272,7 @@ func (t *tester) registerTests() {
} else if t.hasBash() && t.goos != "android" && !iOS {
t.registerTest("testso", "../misc/cgo/testso", "./test.bash")
}
if t.goos == "darwin" && t.goarch == "amd64" {
if t.extLink() && t.goos == "darwin" && t.goarch == "amd64" {
// TODO(crawshaw): add darwin/arm{,64}
t.registerTest("testcarchive", "../misc/cgo/testcarchive", "./test.bash")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment