mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-22 02:29:10 +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:
parent
78d49ca8ae
commit
73ddc205fc
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user