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

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

Issue 11412079: Move ContentShell and ChromiumTestShell instrumentation tests to main waterfall. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: also run regular instrumentation tests on fyi Created 8 years, 1 month 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 | « build/android/buildbot/bb_try_tester.sh ('k') | 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) 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 bb_run_step python build/android/run_instrumentation_tests.py \ 312 bb_run_step python build/android/run_instrumentation_tests.py \
313 -vvv --test-apk ${TEST_APK} -I 313 -vvv --test-apk ${TEST_APK} -I
314 } 314 }
315 315
316 # Run instrumentation tests for all relevant APKs on device. 316 # Run instrumentation tests for all relevant APKs on device.
317 function bb_run_instrumentation_tests { 317 function bb_run_instrumentation_tests {
318 bb_run_all_instrumentation_tests_for_apk "ContentShell.apk" \ 318 bb_run_all_instrumentation_tests_for_apk "ContentShell.apk" \
319 "org.chromium.content_shell" "ContentShellTest" 319 "org.chromium.content_shell" "ContentShellTest"
320 bb_run_all_instrumentation_tests_for_apk "ChromiumTestShell.apk" \ 320 bb_run_all_instrumentation_tests_for_apk "ChromiumTestShell.apk" \
321 "org.chromium.chrome.testshell" "ChromiumTestShellTest" 321 "org.chromium.chrome.testshell" "ChromiumTestShellTest"
322 }
323
324 # Run instrumentation tests for experimental APKs on device.
325 function bb_run_experimental_instrumentation_tests {
322 bb_run_all_instrumentation_tests_for_apk "AndroidWebView.apk" \ 326 bb_run_all_instrumentation_tests_for_apk "AndroidWebView.apk" \
323 "org.chromium.android_webview" "AndroidWebViewTest" 327 "org.chromium.android_webview" "AndroidWebViewTest"
324 } 328 }
325 329
326 # Zip and archive a build. 330 # Zip and archive a build.
327 function bb_zip_build { 331 function bb_zip_build {
328 echo "@@@BUILD_STEP Zip build@@@" 332 echo "@@@BUILD_STEP Zip build@@@"
329 python ../../../../scripts/slave/zip_build.py \ 333 python ../../../../scripts/slave/zip_build.py \
330 --src-dir "$SRC_ROOT" \ 334 --src-dir "$SRC_ROOT" \
331 --exclude-files "lib.target,gen,android_webview,jingle_unittests" \ 335 --exclude-files "lib.target,gen,android_webview,jingle_unittests" \
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 ) 394 )
391 } 395 }
392 396
393 # Retrieve a packed json property using python 397 # Retrieve a packed json property using python
394 function bb_get_json_prop { 398 function bb_get_json_prop {
395 local JSON="$1" 399 local JSON="$1"
396 local PROP="$2" 400 local PROP="$2"
397 401
398 python -c "import json; print json.loads('$JSON').get('$PROP', '')" 402 python -c "import json; print json.loads('$JSON').get('$PROP', '')"
399 } 403 }
OLDNEW
« no previous file with comments | « build/android/buildbot/bb_try_tester.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698