1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

Dex2oat: Now uses root if available.

Command fails to execute with permission error on some devices therefore
now attempts to use root if available.
This commit is contained in:
Marc Bonnici 2016-12-16 11:20:37 +00:00
parent d493b1e790
commit 24000a21df

View File

@ -75,7 +75,7 @@ class Dex2oatBenchmark(Workload):
self.device.push_file(self.apk_file, on_device_apk)
def run(self, context):
self.device.execute(self.command, self.run_timeout)
self.device.execute(self.command, self.run_timeout, as_root=self.device.is_rooted)
def update_result(self, context):
"""