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

Unified Diff: build/android/buildbot/bb_device_steps.py

Issue 23346011: Fixes TestContentProvider issues in AndroidWebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds a hack for test apk cycling Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/test/shell/AndroidManifest.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/bb_device_steps.py
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py
index 2cb431ed88b8de620212c936f1609340d6b92f4a..b6ba481f07bfc4bf568e7aee4550346a8f8e0767 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -141,6 +141,14 @@ def InstallApk(options, test, print_step=False):
"""
if print_step:
bb_annotations.PrintNamedStep('install_%s' % test.name.lower())
+ # TODO(gkanwar): Quick hack to make sure AndroidWebViewTest.apk is replaced
+ # before AndroidWebView.apk is. This can be removed once the bots cycle.
+ args = ['--apk', '%s.apk' % test.test_apk]
+ if options.target == 'Release':
+ args.append('--release')
+
+ RunCmd(['build/android/adb_install_apk.py'] + args, halt_on_failure=True)
+
args = ['--apk', test.apk, '--apk_package', test.apk_package]
if options.target == 'Release':
args.append('--release')
« no previous file with comments | « android_webview/test/shell/AndroidManifest.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698