| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 set -o xtrace | 6 set -o xtrace |
| 7 set -o nounset | 7 set -o nounset |
| 8 set -o errexit | 8 set -o errexit |
| 9 | 9 |
| 10 ###################################################################### | 10 ###################################################################### |
| 11 # SCRIPT CONFIG | 11 # SCRIPT CONFIG |
| 12 ###################################################################### | 12 ###################################################################### |
| 13 | 13 |
| 14 CLOBBER=${CLOBBER:-yes} | 14 CLOBBER=${CLOBBER:-yes} |
| 15 SCONS_TRUSTED="./scons --mode=opt-host -j8" | 15 SCONS_TRUSTED="./scons --mode=opt-host -j8" |
| 16 SCONS_NACL="./scons --mode=opt-host,nacl -j8" | 16 SCONS_NACL="./scons --mode=opt-host,nacl -j8" |
| 17 SPEC_HARNESS=${SPEC_HARNESS:-${HOME}/cpu2000-redhat64-ia32}/ | 17 SPEC_HARNESS=${SPEC_HARNESS:-${HOME}/cpu2000-redhat64-ia32}/ |
| 18 UTMAN=tools/llvm/utman.sh | |
| 19 | 18 |
| 20 TRYBOT_TESTS="176.gcc 179.art 181.mcf 197.parser 252.eon 254.gap" | 19 TRYBOT_TESTS="176.gcc 179.art 181.mcf 197.parser 252.eon 254.gap" |
| 21 TRYBOT_TRANSLATOR_TESTS="176.gcc" | 20 TRYBOT_TRANSLATOR_TESTS="176.gcc" |
| 22 | 21 |
| 23 SPEC_BASE="tests/spec2k" | 22 SPEC_BASE="tests/spec2k" |
| 24 | 23 |
| 25 RETCODE=0 | 24 RETCODE=0 |
| 26 | 25 |
| 27 ###################################################################### | 26 ###################################################################### |
| 28 # SCRIPT ACTION | 27 # SCRIPT ACTION |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 exit 1 | 172 exit 1 |
| 174 fi | 173 fi |
| 175 | 174 |
| 176 "$@" | 175 "$@" |
| 177 | 176 |
| 178 if [[ ${RETCODE} != 0 ]]; then | 177 if [[ ${RETCODE} != 0 ]]; then |
| 179 echo "@@@BUILD_STEP summary@@@" | 178 echo "@@@BUILD_STEP summary@@@" |
| 180 echo There were failed stages. | 179 echo There were failed stages. |
| 181 exit ${RETCODE} | 180 exit ${RETCODE} |
| 182 fi | 181 fi |
| OLD | NEW |