1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 10:11:17 +00:00

fw/instrument: add mappings for job/run signals

Add missing mappings for job and run signals.
This commit is contained in:
Sergei Trofimov 2018-05-29 11:37:04 +01:00 committed by Marc Bonnici
parent 2cad2dbb10
commit 673b61342d

View File

@ -131,6 +131,15 @@ SIGNAL_MAP = OrderedDict([
('teardown', signal.AFTER_WORKLOAD_TEARDOWN), ('teardown', signal.AFTER_WORKLOAD_TEARDOWN),
('finalize', signal.RUN_FINALIZED), ('finalize', signal.RUN_FINALIZED),
('on_run_start', signal.RUN_STARTED),
('on_run_end', signal.RUN_COMPLETED),
('on_job_start', signal.JOB_STARTED),
('on_job_restart', signal.JOB_RESTARTED),
('on_job_end', signal.JOB_COMPLETED),
('on_job_falure', signal.JOB_FAILED),
('on_job_abort', signal.JOB_ABORTED),
('before_job', signal.BEFORE_JOB), ('before_job', signal.BEFORE_JOB),
('on_successful_job', signal.SUCCESSFUL_JOB), ('on_successful_job', signal.SUCCESSFUL_JOB),
('after_job', signal.AFTER_JOB), ('after_job', signal.AFTER_JOB),
@ -145,8 +154,6 @@ SIGNAL_MAP = OrderedDict([
('on_error', signal.ERROR_LOGGED), ('on_error', signal.ERROR_LOGGED),
('on_warning', signal.WARNING_LOGGED), ('on_warning', signal.WARNING_LOGGED),
# ('on_run_start', signal.RUN_START),
# ('on_run_end', signal.RUN_END),
# ('on_workload_spec_start', signal.WORKLOAD_SPEC_START), # ('on_workload_spec_start', signal.WORKLOAD_SPEC_START),
# ('on_workload_spec_end', signal.WORKLOAD_SPEC_END), # ('on_workload_spec_end', signal.WORKLOAD_SPEC_END),
# ('on_iteration_start', signal.ITERATION_START), # ('on_iteration_start', signal.ITERATION_START),