[rtems-tools commit] rtems-bsp-builder: Fix passes report alignment.

Chris Johns chrisj at rtems.org
Thu Apr 27 23:45:37 UTC 2017


Module:    rtems-tools
Branch:    master
Commit:    ad15f6b2ceaa9a1ae82cb20c5ca7dbab1e2d3d53
Changeset: http://git.rtems.org/rtems-tools/commit/?id=ad15f6b2ceaa9a1ae82cb20c5ca7dbab1e2d3d53

Author:    Chris Johns <chrisj at rtems.org>
Date:      Fri Apr 28 06:49:23 2017 +1000

rtems-bsp-builder: Fix passes report alignment.

---

 tester/rt/check.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/tester/rt/check.py b/tester/rt/check.py
index f6a54b7..067f6a3 100755
--- a/tester/rt/check.py
+++ b/tester/rt/check.py
@@ -436,9 +436,7 @@ class results:
                 config_at = config_cmd.find('configure')
                 if config_at != -1:
                     config_cmd = config_cmd[config_at:]
-                log.output(' %*s:  %5d:' % (max_col + 2,
-                                            self._arch_bsp(f[0], f[1]),
-                                            f[3]))
+                log.output(' %s (%5d):' % (self._arch_bsp(f[0], f[1]), f[3]))
                 log.output(wrap([' ' * 6, config_cmd], lineend = '\\', width = 75))
 
 class configuration:
@@ -473,7 +471,8 @@ class configuration:
 
     def _get_items(self, section, err = True):
         try:
-            items = [(name, key.replace(os.linesep, ' ')) for name, key in self.config.items(section)]
+            items = [(name, key.replace(os.linesep, ' ')) \
+                     for name, key in self.config.items(section)]
             return items
         except:
             if err:



More information about the vc mailing list