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 bitcode=1 minsfi=1" \ | |
jvoung (off chromium)
2014/09/09 21:15:45
bitcode=1 is already added by SCONS_COMMON
dbrazdil
2014/09/09 22:17:43
Done.
| |
441 "minsfi_tests" | |
440 } | 442 } |
441 | 443 |
442 mode-buildbot-tc-x8664-linux() { | 444 mode-buildbot-tc-x8664-linux() { |
443 local is_try=$1 | 445 local is_try=$1 |
444 FAIL_FAST=false | 446 FAIL_FAST=false |
445 export PNACL_TOOLCHAIN_DIR=linux_x86/pnacl_newlib | 447 export PNACL_TOOLCHAIN_DIR=linux_x86/pnacl_newlib |
446 export PNACL_PRUNE=true | 448 export PNACL_PRUNE=true |
447 | 449 |
448 tc-build-translator | 450 tc-build-translator |
449 if ! ${is_try} ; then | 451 if ! ${is_try} ; then |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
487 exit 1 | 489 exit 1 |
488 fi | 490 fi |
489 | 491 |
490 "$@" | 492 "$@" |
491 | 493 |
492 if [[ ${RETCODE} != 0 ]]; then | 494 if [[ ${RETCODE} != 0 ]]; then |
493 echo "@@@BUILD_STEP summary@@@" | 495 echo "@@@BUILD_STEP summary@@@" |
494 echo There were failed stages. | 496 echo There were failed stages. |
495 exit ${RETCODE} | 497 exit ${RETCODE} |
496 fi | 498 fi |
OLD | NEW |