Changeset 53290f9 in rtems-source-builder


Ignore:
Timestamp:
Aug 13, 2014, 9:10:52 PM (5 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, master
Children:
9ff6dad
Parents:
1c3547f
Message:

sb: Add a dry run footer to ereports.

Location:
source-builder/sb
Files:
2 edited

Legend:

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

    r1c3547f r53290f9  
    110110            return name
    111111
    112     def _generate_report_(self, header):
    113         ereport.generate('rsb-report-%s.txt' % self.macros['name'], self.opts, header)
     112    def _generate_report_(self, header, footer = None):
     113        ereport.generate('rsb-report-%s.txt' % self.macros['name'],
     114                         self.opts, header, footer)
    114115
    115116    def __init__(self, name, create_tar_files, opts, macros = None):
     
    444445                raise
    445446            if self.opts.dry_run():
    446                 self._generate_report_('Build: dry run')
     447                self._generate_report_('Build: dry run (no actual error)',
     448                                       'Build: dry run (no actual error)')
    447449
    448450    def name(self):
  • source-builder/sb/setbuilder.py

    r1c3547f r53290f9  
    3434    import check
    3535    import error
    36     import ereport
    3736    import log
    3837    import mailer
Note: See TracChangeset for help on using the changeset viewer.