mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 22:54:18 +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:
		| @@ -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): | ||||
|         """ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user