commit | 7f32efcb64e86f6e059adcc7d6f62fcacdc4e1ea | [log] [tgz] |
---|---|---|
author | Javi Merino <javi.merino@arm.com> | Tue Dec 15 13:43:56 2015 +0000 |
committer | Javi Merino <javi.merino@arm.com> | Tue Dec 15 13:43:56 2015 +0000 |
tree | 6a945bec40d8df01de91ee9da2b630c92773fc14 | |
parent | f52bf79eb6d716ba0e7e8b385a0bfedbc397090e [diff] |
android: fix initialization without android In workload automation, utils.android._initialize_without_android_home() gets android_home from adb's path. When this code was copied to devlib, we mistakenly dropped parsing the output of "which" and instead call os.path.dirname() on "adb", which always returns "" and makes _initialize_without_android_home() fail. Make _initialize_without_android_home() parse the output of "which" again.