aboutsummaryrefslogtreecommitdiff
path: root/src/androidtest.bash
diff options
context:
space:
mode:
authorElias Naur <elias.naur@gmail.com>2018-03-07 11:44:41 +0100
committerElias Naur <elias.naur@gmail.com>2018-03-07 14:01:43 +0000
commit9094946f0d09fbde9bc8cbb4499377e359708af4 (patch)
tree824d275b6423da787b4bf54f4c541c3de6194c0a /src/androidtest.bash
parente83601b4356f92f2f4d05f302d5654754ff05a6d (diff)
downloadgo-9094946f0d09fbde9bc8cbb4499377e359708af4.tar.xz
androidtest.bash: don't require GOARCH set
The host GOARCH is most likely supported (386, amd64, arm, arm64). Change-Id: I86324b9c00f22c592ba54bda7d2ae97c86bda904 Reviewed-on: https://go-review.googlesource.com/99155 Run-TryBot: Elias Naur <elias.naur@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Diffstat (limited to 'src/androidtest.bash')
-rwxr-xr-xsrc/androidtest.bash4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/androidtest.bash b/src/androidtest.bash
index 773509f547..e43b89c0dc 100755
--- a/src/androidtest.bash
+++ b/src/androidtest.bash
@@ -27,10 +27,6 @@ if [ -n "$GOARM" ] && [ "$GOARM" != "7" ]; then
echo "android only supports GOARM=7, got GOARM=$GOARM" 1>&2
exit 1
fi
-if [ "$GOARCH" = "" ]; then
- echo "GOARCH must be set" 1>&2
- exit 1
-fi
export CGO_ENABLED=1
unset GOBIN