1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-19 04:21:17 +00: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.
"""
if self.deployable_assets:
self.deploy_assets()
self.deploy_assets(context)
def setup(self, context):
"""
@ -241,8 +241,8 @@ class ApkWorkload(Workload):
@once_per_instance
def initialize(self, context):
super(ApkWorkload, self).initialize(context)
self.apk.initialize(context)
self.deploy_assets(context)
if self.view is None:
self.view = 'SurfaceView - {}/{}'.format(self.apk.package,
self.apk.activity)