summaryrefslogtreecommitdiffstats
path: root/build/android/pylib/linker/test_runner.py
diff options
context:
space:
mode:
authorjbudorick <jbudorick@chromium.org>2015-04-02 10:00:12 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-02 17:01:11 +0000
commitfccfe475db5c776bef8dbb27451b2f43c6e6ebab (patch)
tree31fa19973be45f052cae3362c9d9678252bc839e /build/android/pylib/linker/test_runner.py
parentb11ca7b7dac766989002bede109c81a3f8a8bc89 (diff)
downloadchromium_src-fccfe475db5c776bef8dbb27451b2f43c6e6ebab.zip
chromium_src-fccfe475db5c776bef8dbb27451b2f43c6e6ebab.tar.gz
chromium_src-fccfe475db5c776bef8dbb27451b2f43c6e6ebab.tar.bz2
[Android] Reland cleanup of old_interface in build/android/pylib.
Original CL: https://codereview.chromium.org/1047703002/ BUG=267773 Review URL: https://codereview.chromium.org/1050883002 Cr-Commit-Position: refs/heads/master@{#323518}
Diffstat (limited to 'build/android/pylib/linker/test_runner.py')
-rw-r--r--build/android/pylib/linker/test_runner.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/build/android/pylib/linker/test_runner.py b/build/android/pylib/linker/test_runner.py
index 3680f83..b6803e4 100644
--- a/build/android/pylib/linker/test_runner.py
+++ b/build/android/pylib/linker/test_runner.py
@@ -49,16 +49,14 @@ class LinkerTestRunner(base_test_runner.BaseTestRunner):
"""
#override
- def __init__(self, device, tool, cleanup_test_files):
+ def __init__(self, device, tool):
"""Creates a new LinkerTestRunner.
Args:
device: Attached android device.
tool: Name of the Valgrind tool.
- cleanup_test_files: Whether or not to cleanup test files on device.
"""
-
- super(LinkerTestRunner, self).__init__(device, tool, cleanup_test_files)
+ super(LinkerTestRunner, self).__init__(device, tool)
#override
def InstallTestPackage(self):
@@ -68,8 +66,7 @@ class LinkerTestRunner(base_test_runner.BaseTestRunner):
if not os.path.exists(apk_path):
raise Exception('%s not found, please build it' % apk_path)
- package_name = apk_helper.GetPackageName(apk_path)
- self.device.old_interface.ManagedInstall(apk_path, package_name)
+ self.device.Install(apk_path)
#override
def RunTest(self, test):