Chromium Code Reviews| 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 # Tell build.sh and test.sh that we're a bot. | 10 # Tell build.sh and test.sh that we're a bot. |
| (...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 597 } | 597 } |
| 598 | 598 |
| 599 mode-buildbot-tc-x8632-linux() { | 599 mode-buildbot-tc-x8632-linux() { |
| 600 setup-goma | 600 setup-goma |
| 601 local is_try=$1 | 601 local is_try=$1 |
| 602 FAIL_FAST=false | 602 FAIL_FAST=false |
| 603 export PNACL_TOOLCHAIN_LABEL=pnacl_linux_x86 | 603 export PNACL_TOOLCHAIN_LABEL=pnacl_linux_x86 |
| 604 # For now, just use this bot to test a pure 32 bit build but don't upload | 604 # For now, just use this bot to test a pure 32 bit build but don't upload |
| 605 tc-build-all ${PNACL_TOOLCHAIN_LABEL} true false | 605 tc-build-all ${PNACL_TOOLCHAIN_LABEL} true false |
| 606 tc-tests-fast "x86-32" | 606 tc-tests-fast "x86-32" |
| 607 | |
| 608 echo "@@@BUILD_STEP test unsandboxed mode@@@" | |
| 609 # Test translation to an unsandboxed executable. | |
| 610 # TODO(mseaborn): Run more tests here when they pass. | |
| 611 ./scons run_hello_world_test_irt bitcode=1 pnacl_unsandboxed=1 \ | |
|
Derek Schuff
2013/10/07 20:30:35
would it make more sense to run this on the FYI bo
| |
| 612 --mode=nacl_irt_test platform=x86-32 -j8 | |
| 607 } | 613 } |
| 608 | 614 |
| 609 mode-buildbot-tc-x8632-mac() { | 615 mode-buildbot-tc-x8632-mac() { |
| 610 local is_try=$1 | 616 local is_try=$1 |
| 611 FAIL_FAST=false | 617 FAIL_FAST=false |
| 612 export PNACL_TOOLCHAIN_LABEL=pnacl_mac_x86 | 618 export PNACL_TOOLCHAIN_LABEL=pnacl_mac_x86 |
| 613 # We can't test ARM because we do not have QEMU for Mac. | 619 # We can't test ARM because we do not have QEMU for Mac. |
| 614 # We can't test X86-64 because NaCl X86-64 Mac support is not in good shape. | 620 # We can't test X86-64 because NaCl X86-64 Mac support is not in good shape. |
| 615 tc-build-all ${PNACL_TOOLCHAIN_LABEL} ${is_try} false | 621 tc-build-all ${PNACL_TOOLCHAIN_LABEL} ${is_try} false |
| 616 tc-tests-fast "x86-32" | 622 tc-tests-fast "x86-32" |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 713 exit 1 | 719 exit 1 |
| 714 fi | 720 fi |
| 715 | 721 |
| 716 "$@" | 722 "$@" |
| 717 | 723 |
| 718 if [[ ${RETCODE} != 0 ]]; then | 724 if [[ ${RETCODE} != 0 ]]; then |
| 719 echo "@@@BUILD_STEP summary@@@" | 725 echo "@@@BUILD_STEP summary@@@" |
| 720 echo There were failed stages. | 726 echo There were failed stages. |
| 721 exit ${RETCODE} | 727 exit ${RETCODE} |
| 722 fi | 728 fi |
| OLD | NEW |