mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-22 12:58:36 +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:
parent
0317604481
commit
0b245ac2c8
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user