mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +00:00 
			
		
		
		
	geekbench: fixing root check
- negating the check (error if *not* rooted) - do not check for version 2 (results are extracted differently and that does not require root).
This commit is contained in:
		| @@ -95,7 +95,7 @@ class Geekbench(AndroidUiAutoBenchmark): | ||||
|         self.run_timeout = 5 * 60 * self.times | ||||
|  | ||||
|     def initialize(self, context): | ||||
|         if self.device.is_rooted: | ||||
|         if self.version == '3' and not self.device.is_rooted: | ||||
|             raise WorkloadError('Geekbench workload only works on rooted devices.') | ||||
|  | ||||
|     def init_resources(self, context): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user