| 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 } | 613 } |
| 614 | 614 |
| 615 mode-buildbot-tc-x8632-linux() { | 615 mode-buildbot-tc-x8632-linux() { |
| 616 setup-goma | 616 setup-goma |
| 617 local is_try=$1 | 617 local is_try=$1 |
| 618 FAIL_FAST=false | 618 FAIL_FAST=false |
| 619 export PNACL_TOOLCHAIN_LABEL=pnacl_linux_x86 | 619 export PNACL_TOOLCHAIN_LABEL=pnacl_linux_x86 |
| 620 # For now, just use this bot to test a pure 32 bit build but don't upload | 620 # For now, just use this bot to test a pure 32 bit build but don't upload |
| 621 tc-build-all ${PNACL_TOOLCHAIN_LABEL} true false | 621 tc-build-all ${PNACL_TOOLCHAIN_LABEL} true false |
| 622 tc-tests-fast "x86-32" | 622 tc-tests-fast "x86-32" |
| 623 |
| 624 echo "@@@BUILD_STEP test unsandboxed mode@@@" |
| 625 # Test translation to an unsandboxed executable. |
| 626 # TODO(mseaborn): Run more tests here when they pass. |
| 627 ./scons run_hello_world_test_irt bitcode=1 pnacl_unsandboxed=1 \ |
| 628 --mode=nacl_irt_test platform=x86-32 -j8 |
| 623 } | 629 } |
| 624 | 630 |
| 625 mode-buildbot-tc-x8632-mac() { | 631 mode-buildbot-tc-x8632-mac() { |
| 626 local is_try=$1 | 632 local is_try=$1 |
| 627 FAIL_FAST=false | 633 FAIL_FAST=false |
| 628 export PNACL_TOOLCHAIN_LABEL=pnacl_mac_x86 | 634 export PNACL_TOOLCHAIN_LABEL=pnacl_mac_x86 |
| 629 # We can't test ARM because we do not have QEMU for Mac. | 635 # We can't test ARM because we do not have QEMU for Mac. |
| 630 # We can't test X86-64 because NaCl X86-64 Mac support is not in good shape. | 636 # We can't test X86-64 because NaCl X86-64 Mac support is not in good shape. |
| 631 tc-build-all ${PNACL_TOOLCHAIN_LABEL} ${is_try} false | 637 tc-build-all ${PNACL_TOOLCHAIN_LABEL} ${is_try} false |
| 632 tc-tests-fast "x86-32" | 638 tc-tests-fast "x86-32" |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 exit 1 | 735 exit 1 |
| 730 fi | 736 fi |
| 731 | 737 |
| 732 "$@" | 738 "$@" |
| 733 | 739 |
| 734 if [[ ${RETCODE} != 0 ]]; then | 740 if [[ ${RETCODE} != 0 ]]; then |
| 735 echo "@@@BUILD_STEP summary@@@" | 741 echo "@@@BUILD_STEP summary@@@" |
| 736 echo There were failed stages. | 742 echo There were failed stages. |
| 737 exit ${RETCODE} | 743 exit ${RETCODE} |
| 738 fi | 744 fi |
| OLD | NEW |