mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
revent fixes
- do not attempt to replay setup if a setup recording has not been provided (perviously, setup was mandatory). - update the apk initialization to the correct method inside the record command.
This commit is contained in:
parent
335ed8198c
commit
0934037e1b
@ -178,7 +178,7 @@ class RecordCommand(Command):
|
||||
|
||||
self.logger.info('Deploying {}'.format(args.workload))
|
||||
workload = pluginloader.get_workload(args.workload, self.target)
|
||||
workload.apk.init_resources(context.resolver)
|
||||
workload.apk.initialize(context)
|
||||
workload.apk.setup(context)
|
||||
sleep(workload.loading_time)
|
||||
|
||||
|
@ -388,8 +388,9 @@ class ReventGUI(object):
|
||||
|
||||
def setup(self):
|
||||
self._check_revent_files()
|
||||
self.revent_recorder.replay(self.on_target_setup_revent,
|
||||
timeout=self.setup_timeout)
|
||||
if self.revent_setup_file:
|
||||
self.revent_recorder.replay(self.on_target_setup_revent,
|
||||
timeout=self.setup_timeout)
|
||||
|
||||
def run(self):
|
||||
msg = 'Replaying {}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user