summaryrefslogtreecommitdiff
path: root/src/all-arm.bash
blob: 73db3fb85c924ecb8191f0ded14e29ec8216344b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/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 $?