diff options
| author | Elias Naur <elias.naur@gmail.com> | 2016-03-24 21:47:02 +0100 |
|---|---|---|
| committer | Elias Naur <elias.naur@gmail.com> | 2016-03-24 23:43:27 +0000 |
| commit | 0a82ed5d7c6db2c01a840e2a494cb6ff22a02823 (patch) | |
| tree | e4b4cd19a5d79cefe4742063fe68c4e1ec20745d /src/encoding/json | |
| parent | 0104a31b8fbcbe52728a08867b26415d282c35d2 (diff) | |
| download | go-0a82ed5d7c6db2c01a840e2a494cb6ff22a02823.tar.xz | |
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>
Diffstat (limited to 'src/encoding/json')
0 files changed, 0 insertions, 0 deletions
