summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/setbuilder.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-05-15 08:49:34 +1000
committerChris Johns <chrisj@rtems.org>2014-05-15 08:49:34 +1000
commit65d94573a54884eb7338513e9356408548255ef7 (patch)
tree873692ce9161c5c7d851a4cb5cb6302a0c506e83 /source-builder/sb/setbuilder.py
parentsb: Fix the formatting string. (diff)
downloadrtems-source-builder-65d94573a54884eb7338513e9356408548255ef7.tar.bz2
sb: Move error report generation to the build phase.
Generate a separate report of each package being built in a build set. This creates a better list of faults in the case of nesting build sets such as */rtems-all.
Diffstat (limited to 'source-builder/sb/setbuilder.py')
-rw-r--r--source-builder/sb/setbuilder.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py
index b772120..2b2d527 100644
--- a/source-builder/sb/setbuilder.py
+++ b/source-builder/sb/setbuilder.py
@@ -427,9 +427,6 @@ def list_bset_cfg_files(opts, configs):
def run():
import sys
ec = 0
- opts = None
- b = None
- erheader = None
try:
optargs = { '--list-configs': 'List available configurations',
'--list-bsets': 'List available build sets',
@@ -464,13 +461,9 @@ def run():
c += 1
print 'dep[%d]: %s' % (c, d)
except error.general, gerr:
- erheader = 'Build: %s' % (gerr)
- log.notice(str(gerr))
log.stderr('Build FAILED')
ec = 1
except error.internal, ierr:
- erheader = 'Build: %s' % (ierr)
- log.notice(str(ierr))
log.stderr('Internal Build FAILED')
ec = 1
except error.exit, eerr:
@@ -478,12 +471,6 @@ def run():
except KeyboardInterrupt:
log.notice('abort: user terminated')
ec = 1
- if (ec != 0 and erheader and opts and b) or (opts and opts.dry_run()):
- if opts.dry_run():
- bset = 'dry-run'
- else:
- bset = b.bset
- ereport.generate('rsb-report-%s.txt' % (bset), opts, erheader)
sys.exit(ec)
if __name__ == "__main__":