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

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: 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
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
330
Isaac (away) 2012/11/19 21:55:38 nit extra newline added here
326 # Zip and archive a build. 331 # Zip and archive a build.
327 function bb_zip_build { 332 function bb_zip_build {
328 echo "@@@BUILD_STEP Zip build@@@" 333 echo "@@@BUILD_STEP Zip build@@@"
329 python ../../../../scripts/slave/zip_build.py \ 334 python ../../../../scripts/slave/zip_build.py \
330 --src-dir "$SRC_ROOT" \ 335 --src-dir "$SRC_ROOT" \
331 --exclude-files "lib.target,gen,android_webview,jingle_unittests" \ 336 --exclude-files "lib.target,gen,android_webview,jingle_unittests" \
332 --factory-properties "$FACTORY_PROPERTIES" \ 337 --factory-properties "$FACTORY_PROPERTIES" \
333 --build-properties "$BUILD_PROPERTIES" 338 --build-properties "$BUILD_PROPERTIES"
334 } 339 }
335 340
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 ) 395 )
391 } 396 }
392 397
393 # Retrieve a packed json property using python 398 # Retrieve a packed json property using python
394 function bb_get_json_prop { 399 function bb_get_json_prop {
395 local JSON="$1" 400 local JSON="$1"
396 local PROP="$2" 401 local PROP="$2"
397 402
398 python -c "import json; print json.loads('$JSON').get('$PROP', '')" 403 python -c "import json; print json.loads('$JSON').get('$PROP', '')"
399 } 404 }
OLDNEW
« build/android/buildbot/bb_fyi_tester.sh ('K') | « 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