| 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 run-tests SetupPnaclX8664ZBSOpt \ | 327 run-tests SetupPnaclX8664ZBSOpt \ |
| 328 "${TRYBOT_X86_64_ZERO_BASED_SANDBOX_TESTS}" 1 1 | 328 "${TRYBOT_X86_64_ZERO_BASED_SANDBOX_TESTS}" 1 1 |
| 329 } | 329 } |
| 330 | 330 |
| 331 pnacl-trybot-x8664() { | 331 pnacl-trybot-x8664() { |
| 332 clobber | 332 clobber |
| 333 download-spec2k-harness | 333 download-spec2k-harness |
| 334 build-prerequisites "x86-64" "bitcode" | 334 build-prerequisites "x86-64" "bitcode" |
| 335 build-tests SetupPnaclX8664Opt "${TRYBOT_TESTS}" 1 1 | 335 build-tests SetupPnaclX8664Opt "${TRYBOT_TESTS}" 1 1 |
| 336 run-tests SetupPnaclX8664Opt "${TRYBOT_TESTS}" 1 1 | 336 run-tests SetupPnaclX8664Opt "${TRYBOT_TESTS}" 1 1 |
| 337 build-tests SetupPnaclX8664OptSz "${TRYBOT_TESTS}" 1 1 |
| 338 run-tests SetupPnaclX8664OptSz "${TRYBOT_TESTS}" 1 1 |
| 337 build-tests SetupPnaclTranslatorX8664Opt "${TRYBOT_TESTS}" 1 1 | 339 build-tests SetupPnaclTranslatorX8664Opt "${TRYBOT_TESTS}" 1 1 |
| 338 run-tests SetupPnaclTranslatorX8664Opt "${TRYBOT_TESTS}" 1 1 | 340 run-tests SetupPnaclTranslatorX8664Opt "${TRYBOT_TESTS}" 1 1 |
| 339 build-tests SetupPnaclTranslator1ThreadX8664Opt "${TRYBOT_TESTS}" 1 1 | 341 build-tests SetupPnaclTranslator1ThreadX8664Opt "${TRYBOT_TESTS}" 1 1 |
| 340 run-tests SetupPnaclTranslator1ThreadX8664Opt "${TRYBOT_TESTS}" 1 1 | 342 run-tests SetupPnaclTranslator1ThreadX8664Opt "${TRYBOT_TESTS}" 1 1 |
| 341 build-tests SetupPnaclTranslatorFastX8664Opt "${TRYBOT_TESTS}" 1 1 | 343 build-tests SetupPnaclTranslatorFastX8664Opt "${TRYBOT_TESTS}" 1 1 |
| 342 run-tests SetupPnaclTranslatorFastX8664Opt "${TRYBOT_TESTS}" 1 1 | 344 run-tests SetupPnaclTranslatorFastX8664Opt "${TRYBOT_TESTS}" 1 1 |
| 345 # TODO(stichnot): Enable Subzero translator tests. |
| 346 # build-tests SetupPnaclTranslatorFastX8664OptSz "${TRYBOT_TESTS}" 1 1 |
| 347 # run-tests SetupPnaclTranslatorFastX8664OptSz "${TRYBOT_TESTS}" 1 1 |
| 343 build-tests SetupPnaclTranslatorFast1ThreadX8664Opt "${TRYBOT_TESTS}" 1 1 | 348 build-tests SetupPnaclTranslatorFast1ThreadX8664Opt "${TRYBOT_TESTS}" 1 1 |
| 344 run-tests SetupPnaclTranslatorFast1ThreadX8664Opt "${TRYBOT_TESTS}" 1 1 | 349 run-tests SetupPnaclTranslatorFast1ThreadX8664Opt "${TRYBOT_TESTS}" 1 1 |
| 350 # TODO(stichnot): Enable Subzero translator tests. |
| 351 # build-tests SetupPnaclTranslatorFast1ThreadX8664OptSz "${TRYBOT_TESTS}" 1 1 |
| 352 # run-tests SetupPnaclTranslatorFast1ThreadX8664OptSz "${TRYBOT_TESTS}" 1 1 |
| 345 pnacl-x86-64-zero-based-sandbox | 353 pnacl-x86-64-zero-based-sandbox |
| 346 build-validator x86-64 | 354 build-validator x86-64 |
| 347 download-validator-test-nexes x86-64 | 355 download-validator-test-nexes x86-64 |
| 348 measure-validator-speed x86-64 | 356 measure-validator-speed x86-64 |
| 349 } | 357 } |
| 350 | 358 |
| 351 pnacl-arm-buildonly() { | 359 pnacl-arm-buildonly() { |
| 352 clobber | 360 clobber |
| 353 download-spec2k-harness | 361 download-spec2k-harness |
| 354 build-prerequisites "arm" "bitcode" | 362 build-prerequisites "arm" "bitcode" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 375 # Otherwise, we'll bump the runs up to 2x as well. | 383 # Otherwise, we'll bump the runs up to 2x as well. |
| 376 build-tests SetupPnaclTranslatorFast1ThreadArmOptHW all 1 1 | 384 build-tests SetupPnaclTranslatorFast1ThreadArmOptHW all 1 1 |
| 377 run-tests SetupPnaclTranslatorFast1ThreadArmOptHW all 1 1 | 385 run-tests SetupPnaclTranslatorFast1ThreadArmOptHW all 1 1 |
| 378 } | 386 } |
| 379 | 387 |
| 380 pnacl-x8664() { | 388 pnacl-x8664() { |
| 381 clobber | 389 clobber |
| 382 download-spec2k-harness | 390 download-spec2k-harness |
| 383 build-prerequisites "x86-64" "bitcode" | 391 build-prerequisites "x86-64" "bitcode" |
| 384 local setups="SetupPnaclX8664Opt \ | 392 local setups="SetupPnaclX8664Opt \ |
| 385 SetupPnaclTranslatorX8664Opt \ | 393 SetupPnaclX8664OptSz \ |
| 386 SetupPnaclTranslator1ThreadX8664Opt \ | 394 SetupPnaclTranslatorX8664Opt \ |
| 387 SetupPnaclTranslatorFastX8664Opt \ | 395 SetupPnaclTranslator1ThreadX8664Opt \ |
| 388 SetupPnaclTranslatorFast1ThreadX8664Opt" | 396 SetupPnaclTranslatorFastX8664Opt \ |
| 397 SetupPnaclTranslatorFast1ThreadX8664Opt" |
| 398 # TODO(stichnot): Add SetupPnaclTranslatorFastX8664OptSz, |
| 399 # SetupPnaclTranslatorFast1ThreadX8664OptSz |
| 389 build-tests "${setups}" all 1 3 | 400 build-tests "${setups}" all 1 3 |
| 390 run-tests "${setups}" all 1 3 | 401 run-tests "${setups}" all 1 3 |
| 391 pnacl-x86-64-zero-based-sandbox | 402 pnacl-x86-64-zero-based-sandbox |
| 392 build-validator x86-64 | 403 build-validator x86-64 |
| 393 download-validator-test-nexes x86-64 | 404 download-validator-test-nexes x86-64 |
| 394 measure-validator-speed x86-64 | 405 measure-validator-speed x86-64 |
| 395 } | 406 } |
| 396 | 407 |
| 397 pnacl-x8632() { | 408 pnacl-x8632() { |
| 398 clobber | 409 clobber |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 exit 1 | 470 exit 1 |
| 460 fi | 471 fi |
| 461 | 472 |
| 462 "$@" | 473 "$@" |
| 463 | 474 |
| 464 if [[ ${RETCODE} != 0 ]]; then | 475 if [[ ${RETCODE} != 0 ]]; then |
| 465 echo "@@@BUILD_STEP summary@@@" | 476 echo "@@@BUILD_STEP summary@@@" |
| 466 echo There were failed stages. | 477 echo There were failed stages. |
| 467 exit ${RETCODE} | 478 exit ${RETCODE} |
| 468 fi | 479 fi |
| OLD | NEW |