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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 local arch="$1" | 430 local arch="$1" |
431 local scons_flags="-k skip_trusted_tests=1" | 431 local scons_flags="-k skip_trusted_tests=1" |
432 | 432 |
433 driver-tests "${arch}" | 433 driver-tests "${arch}" |
434 | 434 |
435 scons-stage-noirt "${arch}" "${scons_flags} -j8" "${SCONS_TC_TESTS}" | 435 scons-stage-noirt "${arch}" "${scons_flags} -j8" "${SCONS_TC_TESTS}" |
436 # Large tests cannot be run in parallel | 436 # Large tests cannot be run in parallel |
437 scons-stage-noirt "${arch}" "${scons_flags} -j1" "large_tests" | 437 scons-stage-noirt "${arch}" "${scons_flags} -j1" "large_tests" |
438 scons-stage-noirt "${arch}" "${scons_flags} -j8 pnacl_generate_pexe=0" \ | 438 scons-stage-noirt "${arch}" "${scons_flags} -j8 pnacl_generate_pexe=0" \ |
439 "nonpexe_tests" | 439 "nonpexe_tests" |
| 440 scons-stage-noirt "${arch}" "${scons_flags} -j8 minsfi=1" "minsfi_tests" |
440 } | 441 } |
441 | 442 |
442 mode-buildbot-tc-x8664-linux() { | 443 mode-buildbot-tc-x8664-linux() { |
443 local is_try=$1 | 444 local is_try=$1 |
444 FAIL_FAST=false | 445 FAIL_FAST=false |
445 export PNACL_TOOLCHAIN_DIR=linux_x86/pnacl_newlib | 446 export PNACL_TOOLCHAIN_DIR=linux_x86/pnacl_newlib |
446 export PNACL_PRUNE=true | 447 export PNACL_PRUNE=true |
447 | 448 |
448 tc-build-translator | 449 tc-build-translator |
449 if ! ${is_try} ; then | 450 if ! ${is_try} ; then |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 exit 1 | 488 exit 1 |
488 fi | 489 fi |
489 | 490 |
490 "$@" | 491 "$@" |
491 | 492 |
492 if [[ ${RETCODE} != 0 ]]; then | 493 if [[ ${RETCODE} != 0 ]]; then |
493 echo "@@@BUILD_STEP summary@@@" | 494 echo "@@@BUILD_STEP summary@@@" |
494 echo There were failed stages. | 495 echo There were failed stages. |
495 exit ${RETCODE} | 496 exit ${RETCODE} |
496 fi | 497 fi |
OLD | NEW |