mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
geekbench: Allow on unrooted when disable_update_result
This commit is contained in:
parent
a08d6262ba
commit
74bf1a82e0
@ -122,9 +122,11 @@ class Geekbench(ApkUiautoWorkload):
|
||||
|
||||
def initialize(self, context):
|
||||
super(Geekbench, self).initialize(context)
|
||||
if not self.target.is_rooted:
|
||||
if not self.disable_update_result and not self.target.is_rooted:
|
||||
raise WorkloadError(
|
||||
'Geekbench workload requires root to collect results')
|
||||
'Geekbench workload requires root to collect results. '
|
||||
'You can set disable_update_result=True in the workload params '
|
||||
'to run without collecting results.')
|
||||
|
||||
def setup(self, context):
|
||||
super(Geekbench, self).setup(context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user