Changeset 858e43b in rtems-source-builder


Ignore:
Timestamp:
Mar 14, 2016, 4:19:29 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11
Children:
2b5f69e
Parents:
a795097
git-author:
Chris Johns <chrisj@…> (03/14/16 04:19:29)
git-committer:
Chris Johns <chrisj@…> (03/14/16 04:20:53)
Message:

sb: Fix build's --with-error-report handling.

This reflects changes in the way the --with/--without options are handled.

Updates #2526.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/build.py

    ra795097 r858e43b  
    113113    def _generate_report_(self, header, footer = None):
    114114        label, result = self.opts.with_arg('error-report')
    115         if label.startswith('without') and result == 'no':
     115        if (label.startswith('without') and result != 'yes') or \
     116           (label.startswith('with') and result != 'no'):
    116117            ereport.generate('rsb-report-%s.txt' % self.macros['name'],
    117118                             self.opts, header, footer)
Note: See TracChangeset for help on using the changeset viewer.