2009-11-14 16:29:09 -07:00
|
|
|
#!/usr/bin/env bash
|
2009-08-18 08:17:34 -06:00
|
|
|
# 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
|
2010-02-03 21:46:37 -07:00
|
|
|
|
|
|
|
export GOOS=linux
|
|
|
|
export GOARCH=arm
|
|
|
|
|
|
|
|
bash make.bash
|
2009-08-18 08:17:34 -06:00
|
|
|
|
|
|
|
# TODO(kaib): add in proper tests
|
|
|
|
#bash run.bash
|
2009-09-18 20:09:29 -06:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
xcd() {
|
|
|
|
echo
|
|
|
|
echo --- cd $1
|
|
|
|
builtin cd $1
|
|
|
|
}
|
|
|
|
|
2009-10-23 21:31:03 -06:00
|
|
|
# temporarily turn GC off
|
|
|
|
# TODO(kaib): reenable GC once everything else works
|
|
|
|
export GOGC=off
|
|
|
|
|
2009-09-18 20:09:29 -06:00
|
|
|
(xcd ../test
|
|
|
|
./run-arm
|
|
|
|
) || exit $?
|