From 45861a64d311e05c43f18d58d53ae258222519c8 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 1 Mar 2019 12:08:00 +0100 Subject: 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 Reviewed-by: Brad Fitzpatrick --- src/androidtest.bash | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100755 src/androidtest.bash (limited to 'src/androidtest.bash') 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 -- cgit v1.3-5-g9baa