mirror of
https://github.com/golang/go
synced 2024-11-22 02:24:41 -07:00
c2cb0d70d5
R=kaib CC=golang-dev https://golang.org/cl/199094
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 $?
|