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

Side by Side Diff: build/android/buildbot.sh

Issue 8758007: Check $? of 'make' before a 'set -e' call. Else it is overridden. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | « 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/bash 1 #!/bin/bash
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium 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 # "compile and run tests" script for the android build of chromium. 6 # "compile and run tests" script for the android build of chromium.
7 # Intended for use by buildbot. 7 # Intended for use by buildbot.
8 # At this time, we only have one bot which is both a builder and 8 # At this time, we only have one bot which is both a builder and
9 # tester. Script assumes it runs in the "build" directory. 9 # tester. Script assumes it runs in the "build" directory.
10 # 10 #
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 echo "@@@BUILD_STEP Compile@@@" 51 echo "@@@BUILD_STEP Compile@@@"
52 make -j4 52 make -j4
53 53
54 # Linking DumpRenderTree appears to hang forever? 54 # Linking DumpRenderTree appears to hang forever?
55 # EXPERIMENTAL_TARGETS="DumpRenderTree webkit_unit_tests" 55 # EXPERIMENTAL_TARGETS="DumpRenderTree webkit_unit_tests"
56 EXPERIMENTAL_TARGETS="webkit_unit_tests" 56 EXPERIMENTAL_TARGETS="webkit_unit_tests"
57 for target in ${EXPERIMENTAL_TARGETS} ; do 57 for target in ${EXPERIMENTAL_TARGETS} ; do
58 echo "@@@BUILD_STEP Experimental Compile $target @@@" 58 echo "@@@BUILD_STEP Experimental Compile $target @@@"
59 set +e 59 set +e
60 make -j4 "${target}" 60 make -j4 "${target}"
61 set -e
62 if [ $? -ne 0 ] ; then 61 if [ $? -ne 0 ] ; then
63 echo "@@@STEP_WARNINGS@@@" 62 echo "@@@STEP_WARNINGS@@@"
64 fi 63 fi
64 set -e
65 done 65 done
66 66
67 echo "@@@BUILD_STEP Run Tests@@@" 67 echo "@@@BUILD_STEP Run Tests@@@"
68 build/android/run_tests.py -e --xvfb 68 build/android/run_tests.py -e --xvfb
69 69
70 exit 0 70 exit 0
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