diff options
author | Chris Johns <chrisj@rtems.org> | 2016-03-14 15:19:29 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-03-14 15:19:29 +1100 |
commit | e8f351915e1b0884f88a5ace43df1f342f68682b (patch) | |
tree | ce9448decc93417f98de14af0d71dca43372b8ef /source-builder | |
parent | 4.12: Update GDB to gdb-7.11. (diff) | |
download | rtems-source-builder-e8f351915e1b0884f88a5ace43df1f342f68682b.tar.bz2 |
sb: Fix build's --with-error-report handling.
This reflects changes in the way the --with/--without options are handled.
Updates #2526.
Diffstat (limited to 'source-builder')
-rw-r--r-- | source-builder/sb/build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source-builder/sb/build.py b/source-builder/sb/build.py index 4d8787c..747ad58 100644 --- a/source-builder/sb/build.py +++ b/source-builder/sb/build.py @@ -112,7 +112,8 @@ class build: def _generate_report_(self, header, footer = None): label, result = self.opts.with_arg('error-report') - if label.startswith('without') and result == 'no': + 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) |