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

Side by Side Diff: buildbot/buildbot_pnacl.sh

Issue 245733002: Added arguments to NaCl scons to allow custom toolchain directories. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Use abspath of environment instead of cwd since cwd can change per test Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « SConstruct ('k') | buildbot/buildbot_pnacl_toolchain_tests.sh » ('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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 500
501 mode-buildbot-arm-hw-try() { 501 mode-buildbot-arm-hw-try() {
502 unarchive-for-hw-bots $(NAME_ARM_TRY_DOWNLOAD) try 502 unarchive-for-hw-bots $(NAME_ARM_TRY_DOWNLOAD) try
503 mode-buildbot-arm-hw 503 mode-buildbot-arm-hw
504 } 504 }
505 505
506 # These 2 functions are also suitable for local TC sanity testing. 506 # These 2 functions are also suitable for local TC sanity testing.
507 tc-tests-all() { 507 tc-tests-all() {
508 local is_try=$1 508 local is_try=$1
509 509
510 local label="pnaclsdk_mode=custom:toolchain/${PNACL_TOOLCHAIN_DIR}" 510 local label="pnacl_newlib_dir=toolchain/${PNACL_TOOLCHAIN_DIR}"
511 local scons_flags="-k skip_trusted_tests=1 -j8 ${label}" 511 local scons_flags="-k skip_trusted_tests=1 -j8 ${label}"
512 512
513 llvm-regression 513 llvm-regression
514 514
515 # newlib 515 # newlib
516 for arch in x86-32 x86-64 arm; do 516 for arch in x86-32 x86-64 arm; do
517 ${DRIVER_TESTS} --platform="$arch" 517 ${DRIVER_TESTS} --platform="$arch"
518 scons-stage-noirt "$arch" "${scons_flags}" "${SCONS_TC_TESTS}" 518 scons-stage-noirt "$arch" "${scons_flags}" "${SCONS_TC_TESTS}"
519 # Large tests cannot be run in parallel 519 # Large tests cannot be run in parallel
520 scons-stage-noirt "$arch" "${scons_flags} -j1" "large_tests" 520 scons-stage-noirt "$arch" "${scons_flags} -j1" "large_tests"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 exit 1 746 exit 1
747 fi 747 fi
748 748
749 "$@" 749 "$@"
750 750
751 if [[ ${RETCODE} != 0 ]]; then 751 if [[ ${RETCODE} != 0 ]]; then
752 echo "@@@BUILD_STEP summary@@@" 752 echo "@@@BUILD_STEP summary@@@"
753 echo There were failed stages. 753 echo There were failed stages.
754 exit ${RETCODE} 754 exit ${RETCODE}
755 fi 755 fi
OLDNEW
« no previous file with comments | « SConstruct ('k') | buildbot/buildbot_pnacl_toolchain_tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698