Don't use ['tool', .., 'continue'] in SC runtime
This is meant to be passed along directly to a tool. We will use another
option to control whether SC flows continue based on error status, and
we will always quit on fatal error (nonzero return code from tool).
@@ -3982,7 +3982,6 @@ class Chip:
if retcode != 0:
self.logger.warning('Command failed with code %d. See log file %s', retcode, os.path.abspath(logfile))
- if not self.get('tool', tool, 'continue'):
self._haltstep(step, index)
##################
@@ -4001,7 +4000,7 @@ class Chip:
post_error = func(self)
if post_error:
self.logger.error('Post-processing check failed')
- if not self.get('tool', tool, 'continue'):
+ # TODO: add option to control halt behavior
self._haltstep(step, index)
##################
@@ -4044,7 +4043,7 @@ class Chip:
##################
# 23. Stop if there are errors
if self.get('metric',step, index, 'errors') > 0:
- if not self.get('tool', tool, 'continue'):
+ # TODO: add option to control halt behavior
self._haltstep(step, index)
##################
