[rtems-source-builder commit] sb: Fix the --without-error-report parsing of the label.

Chris Johns chrisj at rtems.org
Mon Mar 14 06:44:09 UTC 2016


Module:    rtems-source-builder
Branch:    master
Commit:    8d0e377a2801ca40b1f2a550926e1490b40e8437
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=8d0e377a2801ca40b1f2a550926e1490b40e8437

Author:    Chris Johns <chrisj at rtems.org>
Date:      Mon Mar 14 17:42:51 2016 +1100

sb: Fix the --without-error-report parsing of the label.

Update #2526.

---

 source-builder/sb/build.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source-builder/sb/build.py b/source-builder/sb/build.py
index 747ad58..15d569d 100644
--- a/source-builder/sb/build.py
+++ b/source-builder/sb/build.py
@@ -112,8 +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 != 'yes') or \
-           (label.startswith('with') 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)
 




More information about the vc mailing list