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

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

Issue 10826071: Android: adds instrumentation tests on the FYI bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/buildbot_fyi_tester.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 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 } 248 }
249 249
250 # Run tests on an actual device. (Better have one plugged in!) 250 # Run tests on an actual device. (Better have one plugged in!)
251 function bb_run_tests { 251 function bb_run_tests {
252 python build/android/device_status_check.py 252 python build/android/device_status_check.py
253 echo "@@@BUILD_STEP Run Tests on actual hardware@@@" 253 echo "@@@BUILD_STEP Run Tests on actual hardware@@@"
254 build/android/run_tests.py --xvfb --verbose 254 build/android/run_tests.py --xvfb --verbose
255 } 255 }
256 256
257 # Run simple content shell test on device. 257 # Run simple content shell test on device.
258 function bb_run_content_shell_test { 258 function bb_run_content_shell_test {
Yaron 2012/07/30 21:41:53 Can you remove this one? We've opted to replace it
bulach 2012/07/30 21:50:03 this function is already called by the try bots, w
259 echo "@@@BUILD_STEP Run simple content shell test on actual hardware@@@" 259 echo "@@@BUILD_STEP Run simple content shell test on actual hardware@@@"
260 content/shell/android/simple_content_shell_test.sh \ 260 content/shell/android/simple_content_shell_test.sh \
261 "${SRC_ROOT}"/out/Release/content_shell/ContentShell-debug.apk 261 "${SRC_ROOT}"/out/Release/content_shell/ContentShell-debug.apk
262 } 262 }
263 263
264 # Run content shell instrumentation test on device.
265 function bb_run_content_shell_instrumentation_test {
266 echo "@@@BUILD_STEP Run content shell instrumentation test on actual "\
267 "hardware@@@"
268 build/android/run_instrumentation_tests.py -I \
269 --test-apk content_shell_test/ContentShellTest-debug -vvv
270 }
271
264 # Zip and archive a build. 272 # Zip and archive a build.
265 function bb_zip_build { 273 function bb_zip_build {
266 echo "@@@BUILD_STEP Zip build@@@" 274 echo "@@@BUILD_STEP Zip build@@@"
267 python ../../../../scripts/slave/zip_build.py \ 275 python ../../../../scripts/slave/zip_build.py \
268 --src-dir "$SRC_ROOT" \ 276 --src-dir "$SRC_ROOT" \
269 --exclude-files "lib.target" \ 277 --exclude-files "lib.target" \
270 --factory-properties "$FACTORY_PROPERTIES" \ 278 --factory-properties "$FACTORY_PROPERTIES" \
271 --build-properties "$BUILD_PROPERTIES" 279 --build-properties "$BUILD_PROPERTIES"
272 } 280 }
273 281
(...skipping 18 matching lines...) Expand all
292 --factory-properties "$FACTORY_PROPERTIES" \ 300 --factory-properties "$FACTORY_PROPERTIES" \
293 --build-properties "$BUILD_PROPERTIES" 301 --build-properties "$BUILD_PROPERTIES"
294 extract_exitcode=$? 302 extract_exitcode=$?
295 if (( $extract_exitcode > 1 )); then 303 if (( $extract_exitcode > 1 )); then
296 echo "@@@STEP_WARNINGS@@@" 304 echo "@@@STEP_WARNINGS@@@"
297 return 305 return
298 fi 306 fi
299 return $extract_exitcode 307 return $extract_exitcode
300 ) 308 )
301 } 309 }
OLDNEW
« no previous file with comments | « no previous file | build/android/buildbot_fyi_tester.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698