1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-05 18:31:12 +01:00

geekbench: Allow on unrooted when disable_update_result

This commit is contained in:
Brendan Jackman 2017-10-25 19:16:39 +01:00
parent a08d6262ba
commit 74bf1a82e0

View File

@ -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)