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:
parent
0fb8d261fa
commit
0113940c85
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user