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

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

Issue 10689159: Android: a few minor improvements for the test runner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removes --apk from buildbot_functions.sh Created 8 years, 5 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 | « no previous file | build/android/pylib/buildbot_report.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 Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 # Bash functions used by buildbot annotator scripts for the android 6 # Bash functions used by buildbot annotator scripts for the android
7 # build of chromium. Executing this script should not perform actions 7 # build of chromium. Executing this script should not perform actions
8 # other than setting variables and defining of functions. 8 # other than setting variables and defining of functions.
9 9
10 # Number of jobs on the compile line; e.g. make -j"${JOBS}" 10 # Number of jobs on the compile line; e.g. make -j"${JOBS}"
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 240
241 # Run tests on an emulator. 241 # Run tests on an emulator.
242 function bb_run_tests_emulator { 242 function bb_run_tests_emulator {
243 echo "@@@BUILD_STEP Run Tests on an Emulator@@@" 243 echo "@@@BUILD_STEP Run Tests on an Emulator@@@"
244 build/android/run_tests.py -e --xvfb --verbose 244 build/android/run_tests.py -e --xvfb --verbose
245 } 245 }
246 246
247 # Run tests on an actual device. (Better have one plugged in!) 247 # Run tests on an actual device. (Better have one plugged in!)
248 function bb_run_tests { 248 function bb_run_tests {
249 echo "@@@BUILD_STEP Run Tests on actual hardware@@@" 249 echo "@@@BUILD_STEP Run Tests on actual hardware@@@"
250 build/android/run_tests.py --xvfb --verbose --apk=True 250 build/android/run_tests.py --xvfb --verbose
251 } 251 }
252 252
253 # Zip and archive a build. 253 # Zip and archive a build.
254 function bb_zip_build { 254 function bb_zip_build {
255 echo "@@@BUILD_STEP Zip build@@@" 255 echo "@@@BUILD_STEP Zip build@@@"
256 python ../../../../scripts/slave/zip_build.py \ 256 python ../../../../scripts/slave/zip_build.py \
257 --src-dir "$SRC_ROOT" \ 257 --src-dir "$SRC_ROOT" \
258 --exclude-files "lib.target" \ 258 --exclude-files "lib.target" \
259 --factory-properties "$FACTORY_PROPERTIES" \ 259 --factory-properties "$FACTORY_PROPERTIES" \
260 --build-properties "$BUILD_PROPERTIES" 260 --build-properties "$BUILD_PROPERTIES"
(...skipping 20 matching lines...) Expand all
281 --factory-properties "$FACTORY_PROPERTIES" \ 281 --factory-properties "$FACTORY_PROPERTIES" \
282 --build-properties "$BUILD_PROPERTIES" 282 --build-properties "$BUILD_PROPERTIES"
283 extract_exitcode=$? 283 extract_exitcode=$?
284 if (( $extract_exitcode > 1 )); then 284 if (( $extract_exitcode > 1 )); then
285 echo "@@@STEP_WARNINGS@@@" 285 echo "@@@STEP_WARNINGS@@@"
286 return 286 return
287 fi 287 fi
288 return $extract_exitcode 288 return $extract_exitcode
289 ) 289 )
290 } 290 }
OLDNEW
« no previous file with comments | « no previous file | build/android/pylib/buildbot_report.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698