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

fw/execution: Fix status being assigned as strings

This commit is contained in:
Marc Bonnici 2018-11-28 14:59:49 +00:00 committed by setrofim
parent 0fb8d261fa
commit 0113940c85

View File

@ -376,12 +376,12 @@ class Executor(object):
try:
self.do_execute(context)
except KeyboardInterrupt as e:
context.run_output.status = 'ABORTED'
context.run_output.status = Status.ABORTED
log.log_error(e, self.logger)
context.write_output()
raise
except Exception as e:
context.run_output.status = 'FAILED'
context.run_output.status = Status.FAILED
log.log_error(e, self.logger)
context.write_output()
raise