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

Unified Diff: build/android/pylib/test_package_apk.py

Issue 10824227: Organize adb install cmds and reboot on failure (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/android_commands.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/test_package_apk.py
diff --git a/build/android/pylib/test_package_apk.py b/build/android/pylib/test_package_apk.py
index de6fdb7c9ede28ced655ff2916b924ff9a6de075..c276825f4e8ae7b8e30a48f2df57ca00e306925d 100644
--- a/build/android/pylib/test_package_apk.py
+++ b/build/android/pylib/test_package_apk.py
@@ -97,13 +97,8 @@ class TestPackageApk(TestPackage):
def StripAndCopyExecutable(self):
# Always uninstall the previous one (by activity name); we don't
# know what was embedded in it.
- logging.info('Uninstalling any activity with the test name')
- self.adb.Adb().SendCommand('uninstall org.chromium.native_test',
- timeout_time=60*5)
- logging.info('Installing new apk')
- self.adb.Adb().SendCommand('install -r ' + self.test_suite_full,
- timeout_time=60*5)
- logging.info('Install has completed.')
+ self.adb.ManagedInstall(self.test_suite_full, False,
+ package_name='org.chromium.native_test')
def _GetTestSuiteBaseName(self):
"""Returns the base name of the test suite."""
« no previous file with comments | « build/android/pylib/android_commands.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698