| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 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 ###################################################################### |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 build-tests SetupPnaclX8632Opt "${TRYBOT_TESTS}" 1 1 | 296 build-tests SetupPnaclX8632Opt "${TRYBOT_TESTS}" 1 1 |
| 297 run-tests SetupPnaclX8632Opt "${TRYBOT_TESTS}" 1 1 | 297 run-tests SetupPnaclX8632Opt "${TRYBOT_TESTS}" 1 1 |
| 298 build-tests SetupPnaclX8632OptSz "${TRYBOT_TESTS}" 1 1 | 298 build-tests SetupPnaclX8632OptSz "${TRYBOT_TESTS}" 1 1 |
| 299 run-tests SetupPnaclX8632OptSz "${TRYBOT_TESTS}" 1 1 | 299 run-tests SetupPnaclX8632OptSz "${TRYBOT_TESTS}" 1 1 |
| 300 build-tests SetupPnaclTranslatorX8632Opt "${TRYBOT_TESTS}" 1 1 | 300 build-tests SetupPnaclTranslatorX8632Opt "${TRYBOT_TESTS}" 1 1 |
| 301 run-tests SetupPnaclTranslatorX8632Opt "${TRYBOT_TESTS}" 1 1 | 301 run-tests SetupPnaclTranslatorX8632Opt "${TRYBOT_TESTS}" 1 1 |
| 302 build-tests SetupPnaclTranslator1ThreadX8632Opt "${TRYBOT_TESTS}" 1 1 | 302 build-tests SetupPnaclTranslator1ThreadX8632Opt "${TRYBOT_TESTS}" 1 1 |
| 303 run-tests SetupPnaclTranslator1ThreadX8632Opt "${TRYBOT_TESTS}" 1 1 | 303 run-tests SetupPnaclTranslator1ThreadX8632Opt "${TRYBOT_TESTS}" 1 1 |
| 304 build-tests SetupPnaclTranslatorFastX8632Opt "${TRYBOT_TESTS}" 1 1 | 304 build-tests SetupPnaclTranslatorFastX8632Opt "${TRYBOT_TESTS}" 1 1 |
| 305 run-tests SetupPnaclTranslatorFastX8632Opt "${TRYBOT_TESTS}" 1 1 | 305 run-tests SetupPnaclTranslatorFastX8632Opt "${TRYBOT_TESTS}" 1 1 |
| 306 build-tests SetupPnaclTranslatorFastX8632OptSz "${TRYBOT_TESTS}" 1 1 |
| 307 run-tests SetupPnaclTranslatorFastX8632OptSz "${TRYBOT_TESTS}" 1 1 |
| 306 build-tests SetupPnaclTranslatorFast1ThreadX8632Opt "${TRYBOT_TESTS}" 1 1 | 308 build-tests SetupPnaclTranslatorFast1ThreadX8632Opt "${TRYBOT_TESTS}" 1 1 |
| 307 run-tests SetupPnaclTranslatorFast1ThreadX8632Opt "${TRYBOT_TESTS}" 1 1 | 309 run-tests SetupPnaclTranslatorFast1ThreadX8632Opt "${TRYBOT_TESTS}" 1 1 |
| 310 build-tests SetupPnaclTranslatorFast1ThreadX8632OptSz "${TRYBOT_TESTS}" 1 1 |
| 311 run-tests SetupPnaclTranslatorFast1ThreadX8632OptSz "${TRYBOT_TESTS}" 1 1 |
| 308 build-validator x86-32 | 312 build-validator x86-32 |
| 309 download-validator-test-nexes x86-32 | 313 download-validator-test-nexes x86-32 |
| 310 measure-validator-speed x86-32 | 314 measure-validator-speed x86-32 |
| 311 } | 315 } |
| 312 | 316 |
| 313 pnacl-x86-64-zero-based-sandbox() { | 317 pnacl-x86-64-zero-based-sandbox() { |
| 314 # Clobber scons and rebuild sel_ldr with zero-based sandbox support. | 318 # Clobber scons and rebuild sel_ldr with zero-based sandbox support. |
| 315 # If sel_ldr was built to a different directory and the test | 319 # If sel_ldr was built to a different directory and the test |
| 316 # runner knew where to find that separate sel_ldr, then we wouldn't | 320 # runner knew where to find that separate sel_ldr, then we wouldn't |
| 317 # need to clobber here. | 321 # need to clobber here. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 } | 395 } |
| 392 | 396 |
| 393 pnacl-x8632() { | 397 pnacl-x8632() { |
| 394 clobber | 398 clobber |
| 395 download-spec2k-harness | 399 download-spec2k-harness |
| 396 build-prerequisites "x86-32" "bitcode" | 400 build-prerequisites "x86-32" "bitcode" |
| 397 local setups="SetupPnaclX8632Opt \ | 401 local setups="SetupPnaclX8632Opt \ |
| 398 SetupPnaclX8632OptSz \ | 402 SetupPnaclX8632OptSz \ |
| 399 SetupPnaclTranslatorX8632Opt \ | 403 SetupPnaclTranslatorX8632Opt \ |
| 400 SetupPnaclTranslator1ThreadX8632Opt \ | 404 SetupPnaclTranslator1ThreadX8632Opt \ |
| 405 SetupPnaclTranslatorFastX8632OptSz \ |
| 401 SetupPnaclTranslatorFastX8632Opt \ | 406 SetupPnaclTranslatorFastX8632Opt \ |
| 402 SetupPnaclTranslatorFast1ThreadX8632Opt" | 407 SetupPnaclTranslatorFast1ThreadX8632Opt \ |
| 408 SetupPnaclTranslatorFast1ThreadX8632OptSz" |
| 403 build-tests "${setups}" all 1 3 | 409 build-tests "${setups}" all 1 3 |
| 404 run-tests "${setups}" all 1 3 | 410 run-tests "${setups}" all 1 3 |
| 405 build-validator x86-32 | 411 build-validator x86-32 |
| 406 download-validator-test-nexes x86-32 | 412 download-validator-test-nexes x86-32 |
| 407 measure-validator-speed x86-32 | 413 measure-validator-speed x86-32 |
| 408 } | 414 } |
| 409 | 415 |
| 410 nacl-x8632() { | 416 nacl-x8632() { |
| 411 clobber | 417 clobber |
| 412 download-spec2k-harness | 418 download-spec2k-harness |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 exit 1 | 459 exit 1 |
| 454 fi | 460 fi |
| 455 | 461 |
| 456 "$@" | 462 "$@" |
| 457 | 463 |
| 458 if [[ ${RETCODE} != 0 ]]; then | 464 if [[ ${RETCODE} != 0 ]]; then |
| 459 echo "@@@BUILD_STEP summary@@@" | 465 echo "@@@BUILD_STEP summary@@@" |
| 460 echo There were failed stages. | 466 echo There were failed stages. |
| 461 exit ${RETCODE} | 467 exit ${RETCODE} |
| 462 fi | 468 fi |
| OLD | NEW |