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

Side by Side Diff: buildbot/buildbot_pnacl_toolchain_tests.sh

Issue 580983002: Remove i686-hosted Linux build and start switching to new directory layout (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: review 2, put back test and build.sh patch from PS5 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 | Annotate | Revision Log
« no previous file with comments | « buildbot/buildbot_pnacl_toolchain.py ('k') | pnacl/README » ('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 # Run toolchain torture tests and llvm testsuite tests. 6 # Run toolchain torture tests and llvm testsuite tests.
7 # For now, run on linux64, build and run unsandboxed newlib tests 7 # For now, run on linux64, build and run unsandboxed newlib tests
8 # for all 3 architectures. 8 # for all 3 architectures.
9 # Note: This script builds the toolchain from scratch but does 9 # Note: This script builds the toolchain from scratch but does
10 # not build the translators and hence the translators 10 # not build the translators and hence the translators
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 # Only build MIPS stuff on mips bots 284 # Only build MIPS stuff on mips bots
285 if [[ ${archset} == "mips" ]]; then 285 if [[ ${archset} == "mips" ]]; then
286 export PNACL_BUILD_MIPS=true 286 export PNACL_BUILD_MIPS=true
287 # Don't run any of the tests yet 287 # Don't run any of the tests yet
288 echo "MIPS bot: Only running build, and not tests" 288 echo "MIPS bot: Only running build, and not tests"
289 archset= 289 archset=
290 fi 290 fi
291 291
292 # Build the un-sandboxed toolchain. The build script outputs its own buildbot 292 # Build the un-sandboxed toolchain. The build script outputs its own buildbot
293 # annotations. 293 # annotations.
294 # Build and use the 64-bit llvm build, to get 64-bit versions of the build 294 ${TOOLCHAIN_BUILD} --verbose --sync --clobber --testsuite-sync \
295 # tools such as fpcmp (used for llvm test suite). For some reason it matters
296 # that they match the build machine. TODO(dschuff): Is this still necessary?
297 ${TOOLCHAIN_BUILD} --verbose --sync --clobber --build-64bit-host \
298 --testsuite-sync \
299 --install toolchain/linux_x86/pnacl_newlib 295 --install toolchain/linux_x86/pnacl_newlib
300 296
301 # Linking the tests require additional sdk libraries like libnacl. 297 # Linking the tests require additional sdk libraries like libnacl.
302 # Do this once and for all early instead of attempting to do it within 298 # Do this once and for all early instead of attempting to do it within
303 # each test step and having some late test steps rely on early test 299 # each test step and having some late test steps rely on early test
304 # steps building the prerequisites -- sometimes the early test steps 300 # steps building the prerequisites -- sometimes the early test steps
305 # get skipped. 301 # get skipped.
306 echo "@@@BUILD_STEP install sdk libraries @@@" 302 echo "@@@BUILD_STEP install sdk libraries @@@"
307 ${PNACL_BUILD} sdk 303 ${PNACL_BUILD} sdk
308 for arch in ${archset}; do 304 for arch in ${archset}; do
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 done 363 done
368 } 364 }
369 365
370 366
371 if [ $# = 0 ]; then 367 if [ $# = 0 ]; then
372 # NOTE: this is used for manual testing only 368 # NOTE: this is used for manual testing only
373 tc-test-bot "x86-64 x86-32 arm" 369 tc-test-bot "x86-64 x86-32 arm"
374 else 370 else
375 "$@" 371 "$@"
376 fi 372 fi
OLDNEW
« no previous file with comments | « buildbot/buildbot_pnacl_toolchain.py ('k') | pnacl/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698