1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 10:51:13 +01:00

Merge pull request #319 from marcbonnici/dex2oat

Dex2oat: Now uses root if available.
This commit is contained in:
marcbonnici 2016-12-21 16:53:12 +00:00 committed by GitHub
commit bfa1d8dd62

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):
"""