LEFT | RIGHT |
1 #!/usr/bin/env bash | 1 #!/usr/bin/env bash |
2 # Copyright 2009 The Go Authors. All rights reserved. | 2 # Copyright 2009 The Go Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style | 3 # Use of this source code is governed by a BSD-style |
4 # license that can be found in the LICENSE file. | 4 # license that can be found in the LICENSE file. |
5 | 5 |
6 set -e | 6 set -e |
7 . ./env.bash | 7 . ./env.bash |
8 | 8 |
9 GOBIN="${GOBIN:-$HOME/bin}" | 9 export MAKEFLAGS=-j4 |
| 10 unset CDPATH» # in case user has it set |
10 | 11 |
11 # no core files, please | 12 # no core files, please |
12 ulimit -c 0 | 13 ulimit -c 0 |
13 | 14 |
14 # allow make.bash to avoid double-build of everything | 15 # allow make.bash to avoid double-build of everything |
15 rebuild=true | 16 rebuild=true |
16 if [ "$1" = "--no-rebuild" ]; then | 17 if [ "$1" = "--no-rebuild" ]; then |
17 rebuild=false | 18 rebuild=false |
18 shift | 19 shift |
19 fi | 20 fi |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 ) || exit $? | 85 ) || exit $? |
85 | 86 |
86 (xcd ../test/bench | 87 (xcd ../test/bench |
87 ./timing.sh -test | 88 ./timing.sh -test |
88 ) || exit $? | 89 ) || exit $? |
89 | 90 |
90 (xcd ../test | 91 (xcd ../test |
91 ./run | 92 ./run |
92 ) || exit $? | 93 ) || exit $? |
93 | 94 |
LEFT | RIGHT |