mirror of
https://github.com/golang/go
synced 2024-09-04 23:44:16 +00:00
31 lines
476 B
Bash
Executable file
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 $?
|