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

Side by Side Diff: scripts/travis-build.sh

Issue 1900133002: Pass VERBOSE=1 to make check in travis to get failing test output (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 set -ex 3 set -ex
4 4
5 setup_env() { 5 setup_env() {
6 # Travis sets CC/CXX to the system toolchain, so our .travis.yml 6 # Travis sets CC/CXX to the system toolchain, so our .travis.yml
7 # exports USE_{CC,CXX} for this script to use. 7 # exports USE_{CC,CXX} for this script to use.
8 if [ -n "$USE_CC" ]; then 8 if [ -n "$USE_CC" ]; then
9 export CC=$USE_CC 9 export CC=$USE_CC
10 fi 10 fi
11 if [ -n "$USE_CXX" ]; then 11 if [ -n "$USE_CXX" ]; then
12 export CXX=$USE_CXX 12 export CXX=$USE_CXX
13 fi 13 fi
14 # Use -jN for faster builds. Travis build machines under Docker 14 # Use -jN for faster builds. Travis build machines under Docker
15 # have a lot of cores, but are memory-limited, so the kernel 15 # have a lot of cores, but are memory-limited, so the kernel
16 # will OOM if we try to use them all, so use at most 4. 16 # will OOM if we try to use them all, so use at most 4.
17 # See https://github.com/travis-ci/travis-ci/issues/1972 17 # See https://github.com/travis-ci/travis-ci/issues/1972
18 export NCPUS=$(getconf _NPROCESSORS_ONLN) 18 export NCPUS=$(getconf _NPROCESSORS_ONLN)
19 export JOBS=$(( $NCPUS < 4 ? $NCPUS : 4 )) 19 export JOBS=$(( $NCPUS < 4 ? $NCPUS : 4 ))
20 } 20 }
21 21
22 build() { 22 build() {
23 ./configure 23 ./configure
24 make -j${JOBS} check 24 make -j${JOBS} check VERBOSE=1
25 } 25 }
26 26
27 main() { 27 main() {
28 setup_env 28 setup_env
29 build 29 build
30 } 30 }
31 31
32 main "$@" 32 main "$@"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698