Index: testing/scripts/host_info.py |
diff --git a/testing/scripts/host_info.py b/testing/scripts/host_info.py |
index b7da5ab2292fe8641c671d971aad543055cd7e7a..c4948fc1d7fa7045d3d13387893b864e61056422 100755 |
--- a/testing/scripts/host_info.py |
+++ b/testing/scripts/host_info.py |
@@ -61,16 +61,19 @@ def get_device_info(args, failures): |
rc = common.run_command([ |
sys.executable, |
os.path.join(args.paths['checkout'], |
- 'build', |
+ 'third_party', |
+ 'catapult', |
+ 'devil', |
+ 'devil', |
'android', |
- 'buildbot', |
- 'bb_device_status_check.py'), |
+ 'tools', |
+ 'device_status.py'), |
'--json-output', tempfile_path, |
'--blacklist-file', os.path.join( |
args.paths['checkout'], 'out', 'bad_devices.json')]) |
if rc: |
- failures.append('bb_device_status_check') |
+ failures.append('device_status') |
return {} |
with open(tempfile_path, 'r') as src: |
@@ -79,7 +82,8 @@ def get_device_info(args, failures): |
results = {} |
results['devices'] = sorted(v['serial'] for v in device_info) |
- details = [v['build_detail'] for v in device_info if not v['blacklisted']] |
+ details = [v['ro.build.fingerprint'] |
+ for v in device_info if not v['blacklisted']] |
def unique_build_details(index): |
return sorted(list(set([v.split(':')[index] for v in details]))) |