1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-04-15 15:20:45 +01:00

Framework/Workload: Fix call to deploy assets

This commit is contained in:
Marc Bonnici 2017-11-15 15:05:35 +00:00 committed by setrofim
parent 612646606d
commit 8a913639bd

View File

@ -97,7 +97,7 @@ class Workload(TargetedPlugin):
each iteration. each iteration.
""" """
if self.deployable_assets: if self.deployable_assets:
self.deploy_assets() self.deploy_assets(context)
def setup(self, context): def setup(self, context):
""" """
@ -241,8 +241,8 @@ class ApkWorkload(Workload):
@once_per_instance @once_per_instance
def initialize(self, context): def initialize(self, context):
super(ApkWorkload, self).initialize(context)
self.apk.initialize(context) self.apk.initialize(context)
self.deploy_assets(context)
if self.view is None: if self.view is None:
self.view = 'SurfaceView - {}/{}'.format(self.apk.package, self.view = 'SurfaceView - {}/{}'.format(self.apk.package,
self.apk.activity) self.apk.activity)