LEFT | RIGHT |
(no file at all) | |
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 if [ "$1" = "--no-env" ]; then | 7 if [ "$1" = "--no-env" ]; then |
8 # caller has already run env.bash | 8 # caller has already run env.bash |
9 shift | 9 shift |
10 else | 10 else |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 gomake clean | 98 gomake clean |
99 gomake | 99 gomake |
100 ) || exit $? | 100 ) || exit $? |
101 done | 101 done |
102 | 102 |
103 [ "$GOARCH" == arm ] || | 103 [ "$GOARCH" == arm ] || |
104 (xcd ../test/bench/shootout | 104 (xcd ../test/bench/shootout |
105 ./timing.sh -test | 105 ./timing.sh -test |
106 ) || exit $? | 106 ) || exit $? |
107 | 107 |
| 108 (xcd ../test/bench/go1 |
| 109 gomake test |
| 110 ) || exit $? |
| 111 |
108 (xcd ../test | 112 (xcd ../test |
109 ./run | 113 ./run |
110 ) || exit $? | 114 ) || exit $? |
111 | 115 |
112 echo | 116 echo |
113 echo ALL TESTS PASSED | 117 echo ALL TESTS PASSED |
LEFT | RIGHT |