go/src/all-arm.bash
2010-02-03 20:46:37 -08:00

31 lines
476 B
Bash
Executable file

#!/usr/bin/env bash
# Copyright 2009 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.
set -e
export GOOS=linux
export GOARCH=arm
bash make.bash
# TODO(kaib): add in proper tests
#bash run.bash
set -e
xcd() {
echo
echo --- cd $1
builtin cd $1
}
# temporarily turn GC off
# TODO(kaib): reenable GC once everything else works
export GOGC=off
(xcd ../test
./run-arm
) || exit $?