Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Side by Side Diff: buildbot/buildbot_pnacl.sh

Issue 539683002: MinSFI: Add loader (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fixed nits Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « buildbot/buildbot_pnacl.py ('k') | site_scons/site_tools/naclsdk.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « buildbot/buildbot_pnacl.py ('k') | site_scons/site_tools/naclsdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698