]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testcshared: fix test for android.
authorHyang-Ah (Hana) Kim <hyangah@gmail.com>
Tue, 12 May 2015 20:47:40 +0000 (16:47 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Tue, 12 May 2015 23:46:33 +0000 (23:46 +0000)
commita4f4a46c28fdf6a2b0724bd779c9cf1bad32b066
treece450baa0d63c7a4af93bb82289051a19a611613
parentc06b8565558d9060aad39442270e9fd48f2448b6
misc/cgo/testcshared: fix test for android.

On android the generated header files are located in
pkg/$(go env GOOS)_$(go env GOARCH)_testcshared.
The test was broken since https://go-review.googlesource.com/9798.

The installation path differs based on codegenArgs
(around src/cmd/go/build.go line 389), and the codegenArgs
is platform dependent.

Change-Id: I01ae9cb957fb7676e399f3b8c067f24c5bd20b9d
Reviewed-on: https://go-review.googlesource.com/9980
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/testcshared/test.bash