1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 02:41:11 +01:00

fw/signal: Rename and implement signal for RUN_OUTPUT_PROCESSED

Rename the OVERALL_RESULTS_PROCESSING signal to be called
RUN_OUTPUT_PROCESSED and provide implementation.
This commit is contained in:
Marc Bonnici 2018-06-04 12:00:35 +01:00 committed by setrofim
parent b15b937863
commit baf570fc62
2 changed files with 9 additions and 8 deletions

View File

@ -491,8 +491,9 @@ class Runner(object):
self.logger.info('Finalizing run')
self.context.end_run()
self.pm.enable_all()
self.pm.process_run_output(self.context)
self.pm.export_run_output(self.context)
with signal.wrap('RUN_OUTPUT_PROCESSED'):
self.pm.process_run_output(self.context)
self.pm.export_run_output(self.context)
self.pm.finalize()
signal.disconnect(self._error_signalled_callback, signal.ERROR_LOGGED)
signal.disconnect(self._warning_signalled_callback, signal.WARNING_LOGGED)

View File

@ -173,12 +173,12 @@ SUCCESSFUL_TARGET_DISCONNECT = Signal('successful-target-disconnect')
AFTER_TARGET_DISCONNECT = Signal('after-target-disconnect')
BEFORE_OVERALL_RESULTS_PROCESSING = Signal(
'before-overall-results-process', invert_priority=True)
SUCCESSFUL_OVERALL_RESULTS_PROCESSING = Signal(
'successful-overall-results-process')
AFTER_OVERALL_RESULTS_PROCESSING = Signal(
'after-overall-results-process')
BEFORE_RUN_OUTPUT_PROCESSED = Signal(
'before-run-output-processed', invert_priority=True)
SUCCESSFUL_RUN_OUTPUT_PROCESSED = Signal(
'successful-run-output-processed')
AFTER_RUN_OUTPUT_PROCESSED = Signal(
'after-run-output-processed')