summaryrefslogtreecommitdiff
path: root/src/androidtest.bash
Commit message (Collapse)AuthorAgeFilesLines
* androidtest.bash: use go list to get pkg dirJosh Bleecher Snyder2016-08-291-1/+7
| | | | | | | | | | This will be more robust in the faces of future changes to the pkg dir layout. Change-Id: Iaf078093f02ef3a10884a19c25e2068cbbf5f36a Reviewed-on: https://go-review.googlesource.com/27929 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: David Crawshaw <crawshaw@golang.org>
* androidtest.bash: fix pkg dirJosh Bleecher Snyder2016-08-291-9/+1
| | | | | | | | | | | | | | | | | | CL 24930 altered the default InstallSuffix for mobile platforms. Update androidtest.bash to reflect this. This reverts CL 16151. A subsequent CL will make this more robust, but it will take more discussion and review. In the meantime, this fixes the build. Change-Id: Ia19ca2c9bab7b79c9cf24beeca64ecddaa60289c Reviewed-on: https://go-review.googlesource.com/27927 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Elias Naur <elias.naur@gmail.com> Reviewed-by: David Crawshaw <crawshaw@golang.org>
* androidtest.bash: require GOARCHJosh Bleecher Snyder2016-08-291-0/+4
| | | | | | | | | | | | When finding the pkg dir, androidtest.bash assumes that GOARCH is set. Require it up front. Change-Id: I143f7b59ad9d98b9c3cfb53c1d65c2d33a6acc12 Reviewed-on: https://go-review.googlesource.com/27926 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Elias Naur <elias.naur@gmail.com> Reviewed-by: David Crawshaw <crawshaw@golang.org>
* all: make copyright headers consistent with one space after periodEmmanuel Odeke2016-05-021-1/+1
| | | | | | | | | | | | | | | | | | Follows suit with https://go-review.googlesource.com/#/c/20111. Generated by running $ grep -R 'Go Authors. All' * | cut -d":" -f1 | while read F;do perl -pi -e 's/Go Authors. All/Go Authors. All/g' $F;done The code in cmd/internal/unvendor wasn't changed. Fixes #15213 Change-Id: I4f235cee0a62ec435f9e8540a1ec08ae03b1a75f Reviewed-on: https://go-review.googlesource.com/21819 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* androidtest.bash: set GOARM=7David Crawshaw2015-10-261-0/+8
| | | | | | | | | It's the only ARM version we have ever supported on android. (Not setting it caused some builder timeouts.) Change-Id: I26061434252ff2a236bb31d95787a1c582d24b3f Reviewed-on: https://go-review.googlesource.com/16295 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
* androidtest.bash: correct the location of compiled packagesHyang-Ah Hana Kim2015-10-211-1/+10
| | | | | | | | | | | | For android, gc builds with buildmode=pie by default, and as a result, the compiled packages are not installed in the usual pkg/$GOOS_$GOARCH pack. Copy the compiled packages in pkg/android_$GOARCH_shared into the pkg/android_$GOARCH in the test device. Change-Id: I909e4cc7095ac95ef63bdf6ddc4cb2c698f3459e Reviewed-on: https://go-review.googlesource.com/16151 Reviewed-by: David Crawshaw <crawshaw@golang.org>
* androidtest.bash: robust cleanup in case of failure.Hyang-Ah (Hana) Kim2015-07-171-4/+9
| | | | | | Change-Id: I69ed001bca4987e08b46a8288f6feae2aca6a142 Reviewed-on: https://go-review.googlesource.com/12380 Reviewed-by: David Crawshaw <crawshaw@golang.org>
* androidtest.bash: clean up stale GOROOTDavid Crawshaw2015-05-251-5/+18
| | | | | | | | Fixes #10806 Change-Id: I1be1f28ad60c913105d8417c42ec1b262f101f72 Reviewed-on: https://go-review.googlesource.com/10391 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* androidtest.bash: copy pkg for gcimporter testsDavid Crawshaw2015-04-081-0/+2
| | | | | | | | | | | | | The tests for go/types depend on reading gc export data from the $GOROOT/pkg directory. This is the first use of these files as testdata, so previously they were not copied to the android device. Now they are used, copy them. Fixes android/arm build. Change-Id: If13bbe603ce0aff697a73a97ae9a7d6b3ea800f9 Reviewed-on: https://go-review.googlesource.com/8624 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* androidtest.bash: remove use of cp --preserve.Hyang-Ah (Hana) Kim2015-02-131-3/+3
| | | | | | | | --preserve flag is not a valid flag for some versions of cp. Change-Id: I57f5bf21cbe726057fdadcd55b040ef7ff5d7479 Reviewed-on: https://go-review.googlesource.com/4835 Reviewed-by: David Crawshaw <crawshaw@golang.org>
* build: androidtest.bash has to use copy for files to adb-sync.Hyang-Ah Hana Kim2015-01-151-5/+6
| | | | | | | | | | | | | androidtest.bash copies some go source to the android device where the tests are going to run. It's necessary because some tests require files and resources to be present. The copy is done through adb sync. The script hoped faking the directory using symlinks to work, but it doesn't. (adb sync doesn't follow the symlinks) We need proper copy. Change-Id: If55abca4958f159859e58512b0045f23654167e3 Reviewed-on: https://go-review.googlesource.com/2827 Reviewed-by: David Crawshaw <crawshaw@golang.org>
* build: fix typo in androidtest.bashBurcu Dogan2015-01-151-1/+1
| | | | | | Change-Id: Idd72e095ad64e1a398058982422c2c5497a23ce5 Reviewed-on: https://go-review.googlesource.com/2739 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* androidtest.bash: adjustment for move from src/pkg to srcDavid Crawshaw2014-09-081-1/+1
| | | | | | | LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/142740043
* build: adjustments for move from src/pkg to srcRuss Cox2014-09-081-2/+1
| | | | | | | | | | | | | | | | | | | This CL adjusts code referring to src/pkg to refer to src. Immediately after submitting this CL, I will submit a change doing 'hg mv src/pkg/* src'. That change will be too large to review with Rietveld but will contain only the 'hg mv'. This CL will break the build. The followup 'hg mv' will fix it. For more about the move, see golang.org/s/go14nopkg. LGTM=r R=r CC=golang-codereviews https://golang.org/cl/134570043
* androidtest.bash: drop noisy adb sync outputDavid Crawshaw2014-09-041-1/+3
| | | | | | | LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/138070043
* androidtest.bash: missing !David Crawshaw2014-07-091-1/+1
| | | | | | | LGTM=iant R=bradfitz, iant CC=golang-codereviews https://golang.org/cl/112010045
* androidtest.bash, misc/android: build scripts for androidDavid Crawshaw2014-07-091-0/+54
LGTM=minux R=minux CC=golang-codereviews https://golang.org/cl/107640044