aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Crawshaw <crawshaw@golang.org>2015-04-15 14:47:08 -0400
committerDavid Crawshaw <crawshaw@golang.org>2015-04-15 22:46:47 +0000
commit07f00cf11e208510fd83b8d7328a52f9c1c97eee (patch)
tree2d7ac20129612869643f2efd076fac13824d664a /src
parent99162ca1c5258a78950cba09366d6d095a8c4c40 (diff)
downloadgo-07f00cf11e208510fd83b8d7328a52f9c1c97eee.tar.xz
cmd/test: require external linking for c-archive
Change-Id: I9ceceb29291ea9f5d7b675dfabd665c5e3618471 Reviewed-on: https://go-review.googlesource.com/8955 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/dist/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index 70187b3c20..44f78d7c13 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -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")
}