1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

Workload: Move package initialization into setup

To support runs that require different versions of an application
the discovery/installation process should be performed at the beginning
of each iteration and therefore has been moved into setup.
This commit is contained in:
Marc Bonnici 2017-07-06 13:34:25 +01:00
parent 0317604481
commit 0b245ac2c8

View File

@ -437,9 +437,9 @@ class PackageHandler(object):
def initialize(self, context):
self.resolve_package(context)
self.initialize_package(context)
def setup(self, context):
self.initialize_package(context)
self.start_activity()
self.target.execute('am kill-all') # kill all *background* activities
self.target.clear_logcat()