1
0
mirror of https://github.com/golang/go synced 2024-10-04 23:21:20 -06:00
go/src/cmd
Elias Naur 0a82ed5d7c misc/cgo/testcarchive: re-enable c-archive test on iOS and Android
The c-archive test were recently converted from shell script to Go.
Unfortunately, it also lost the ability to target iOS and Android
that lack C compilers and require exec wrappers.

Compile the c-archive test for the host and run it with the target
GOOS/GOARCH environment. Change the test to rely on go env GOOS
and go env GOARCH instead of runtime.GOOS and runtime.GOARCH.

Fixes #8345

Change-Id: I290ace2f7e96b87c55d99492feb7d660140dcb32
Reviewed-on: https://go-review.googlesource.com/21102
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-03-24 23:43:27 +00:00
..
addr2line cmd/addr2line: simplify windows test 2015-06-17 14:23:20 +00:00
api all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
asm cmd/compile: convert data siz to int 2016-03-14 20:22:21 +00:00
cgo cmd/cgo: add C.CBytes 2016-03-16 23:22:10 +00:00
compile cmd/compile: simplify shifts when the counter fits 6 bits. 2016-03-24 20:06:34 +00:00
cover all: single space after period. 2016-03-02 00:13:47 +00:00
dist misc/cgo/testcarchive: re-enable c-archive test on iOS and Android 2016-03-24 23:43:27 +00:00
doc all: delete dead test code 2016-03-21 07:10:08 +00:00
fix all: single space after period. 2016-03-02 00:13:47 +00:00
go cmd/go: add s390x support 2016-03-21 08:51:21 +00:00
gofmt all: single space after period. 2016-03-02 00:13:47 +00:00
internal cmd/internal/obj: add support for s390x 2016-03-22 04:15:44 +00:00
link cmd/link, reflect: remove some method type data 2016-03-23 17:00:43 +00:00
nm all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
objdump cmd/objdump: skip TestDisasm* for mips64{,le} 2015-09-10 18:27:09 +00:00
pack cmd/pack,vet: use go doc instead of godoc in doc 2016-03-17 21:06:40 +00:00
pprof cmd/pprof: fix crash with invalid source 2016-03-13 20:38:16 +00:00
trace all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
vet cmd/vet: check lock copy in function calls and return statements 2016-03-23 07:14:26 +00:00
yacc Rewrite leftover references to plan9.bell-labs.com to 9p.io. 2016-03-06 07:07:01 +00:00