mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb: Move the option check for reporting errors to the error reporter.
Updates #2536.
This commit is contained in:
@@ -111,11 +111,8 @@ class build:
|
||||
return name
|
||||
|
||||
def _generate_report_(self, header, footer = None):
|
||||
label, result = self.opts.with_arg('error-report')
|
||||
if (label.startswith('without_') and result != 'yes') or \
|
||||
(label.startswith('with_') and result != 'no'):
|
||||
ereport.generate('rsb-report-%s.txt' % self.macros['name'],
|
||||
self.opts, header, footer)
|
||||
ereport.generate('rsb-report-%s.txt' % self.macros['name'],
|
||||
self.opts, header, footer)
|
||||
|
||||
def __init__(self, name, create_tar_files, opts, macros = None):
|
||||
try:
|
||||
|
Reference in New Issue
Block a user