Changeset 2802080 in rtems-source-builder


Ignore:
Timestamp:
Sep 3, 2013, 10:45:04 PM (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, master
Children:
b843e62
Parents:
169619c
Message:

sb: Do not create a build set tar file on error.

If creating build set tar files and using --keep-going do not create
the tar file if any part of the set build fails.

File:
1 edited

Legend:

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

    r169619c r2802080  
    298298
    299299        mail_report = False
     300        have_errors = False
    300301
    301302        try:
     
    325326                        if deps is None:
    326327                            self.build_package(configs[s], b)
    327                             if s == len(configs) - 1:
     328                            if s == len(configs) - 1 and not have_errors:
    328329                                self.bset_tar(b)
    329330                        else:
     
    333334                        raise error.general('invalid config type: %s' % (configs[s]))
    334335                except error.general, gerr:
     336                    have_errors = True
    335337                    if b is not None:
    336338                        if self.build_failure is None:
Note: See TracChangeset for help on using the changeset viewer.