Index: build/android/device_status_check.py |
diff --git a/build/android/device_status_check.py b/build/android/device_status_check.py |
index 47a63a0969a757bd75a25f25de5ba45c563c0470..d2bfb4a83eb46448552c50c68b76aabfc413b377 100755 |
--- a/build/android/device_status_check.py |
+++ b/build/android/device_status_check.py |
@@ -39,8 +39,10 @@ def DeviceInfo(serial): |
setup_wizard_disabled = AdbShellCmd( |
'getprop ro.setupwizard.mode') == 'DISABLED' |
battery = AdbShellCmd('dumpsys battery') |
- install_output = GetCmdOutput(['build/android/adb_install_apk.py', '--apk', |
- 'build/android/CheckInstallApk-debug.apk']) |
+ chrome_src = os.environ.get('CHROME_SRC') |
Siva Chandra
2013/06/04 23:51:03
how about pylib.constants.CHROME_DIR?
|
+ install_output = GetCmdOutput( |
+ ['%s/build/android/adb_install_apk.py' % chrome_src, '--apk', |
+ '%s/build/android/CheckInstallApk-debug.apk' % chrome_src]) |
install_speed_found = re.findall('(\d+) KB/s', install_output) |
if install_speed_found: |
install_speed = int(install_speed_found[0]) |
@@ -183,6 +185,7 @@ def main(): |
parser.error('Unknown options %s' % args) |
devices = android_commands.GetAttachedDevices() |
types, builds, reports, errors = [], [], [], [] |
+ fail_step_lst = [] |
if devices: |
types, builds, reports, errors, fail_step_lst = zip(*[DeviceInfo(dev) |
for dev in devices]) |