1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 02:41:11 +01:00

workloads/vellamo: Fix initialization order

Ensure that uiauto parameters are set before calling the super method.
This commit is contained in:
Marc Bonnici 2019-04-25 16:42:40 +01:00 committed by setrofim
parent f8908e8194
commit 55d983ecaf

View File

@ -66,12 +66,12 @@ class Vellamo(ApkUiautoWorkload):
]
def setup(self, context):
super(Vellamo, self).setup(context)
self.gui.uiauto_params['version'] = self.version
self.gui.uiauto_params['browserToUse'] = self.browser
self.gui.uiauto_params['metal'] = 'Metal' in self.benchmarks
self.gui.uiauto_params['browser'] = 'Browser' in self.benchmarks
self.gui.uiauto_params['multicore'] = 'Multi' in self.benchmarks
super(Vellamo, self).setup(context)
def initialize(self, context):
super(Vellamo, self).initialize(context)