aboutsummaryrefslogtreecommitdiff
path: root/src/androidtest.bash
diff options
context:
space:
mode:
authorElias Naur <mail@eliasnaur.com>2019-03-01 12:08:00 +0100
committerElias Naur <mail@eliasnaur.com>2019-03-01 19:50:38 +0000
commit45861a64d311e05c43f18d58d53ae258222519c8 (patch)
treefdacae546f4ecb4a9b5e85f00e4457aa90d7f045 /src/androidtest.bash
parentee6bec958dcb701a3cfc46d85ad51d7dc97e5c1f (diff)
downloadgo-45861a64d311e05c43f18d58d53ae258222519c8.tar.xz
androidtest.bash: delete
Android now works with all.bash. Change-Id: I1087308865d2eb31f02501b5798e14d11145b185 Reviewed-on: https://go-review.googlesource.com/c/164700 Run-TryBot: Elias Naur <mail@eliasnaur.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/androidtest.bash')
-rwxr-xr-xsrc/androidtest.bash37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/androidtest.bash b/src/androidtest.bash
deleted file mode 100755
index ba776d2278..0000000000
--- a/src/androidtest.bash
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/env bash
-# Copyright 2014 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-# For testing Android.
-
-set -e
-ulimit -c 0 # no core files
-
-if [ ! -f make.bash ]; then
- echo 'androidtest.bash must be run from $GOROOT/src' 1>&2
- exit 1
-fi
-
-if [ -z $GOOS ]; then
- export GOOS=android
-fi
-if [ "$GOOS" != "android" ]; then
- echo "androidtest.bash requires GOOS=android, got GOOS=$GOOS" 1>&2
- exit 1
-fi
-
-if [ -n "$GOARM" ] && [ "$GOARM" != "7" ]; then
- echo "android only supports GOARM=7, got GOARM=$GOARM" 1>&2
- exit 1
-fi
-
-export CGO_ENABLED=1
-unset GOBIN
-
-export GOROOT=$(dirname $(pwd))
-# Put the exec wrapper into PATH
-export PATH=$GOROOT/bin:$PATH
-
-# Run standard tests.
-bash all.bash