mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-07-15 03:23:47 +01: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:
@ -437,9 +437,9 @@ class PackageHandler(object):
|
|||||||
|
|
||||||
def initialize(self, context):
|
def initialize(self, context):
|
||||||
self.resolve_package(context)
|
self.resolve_package(context)
|
||||||
self.initialize_package(context)
|
|
||||||
|
|
||||||
def setup(self, context):
|
def setup(self, context):
|
||||||
|
self.initialize_package(context)
|
||||||
self.start_activity()
|
self.start_activity()
|
||||||
self.target.execute('am kill-all') # kill all *background* activities
|
self.target.execute('am kill-all') # kill all *background* activities
|
||||||
self.target.clear_logcat()
|
self.target.clear_logcat()
|
||||||
|
Reference in New Issue
Block a user