[rtems-tools commit] bsp-builder: Results format fixes.
Chris Johns
chrisj at rtems.org
Tue Aug 30 08:10:21 UTC 2016
Module: rtems-tools
Branch: master
Commit: a252faf1d3ccb207b0c894ae61ccf7d029b1ae27
Changeset: http://git.rtems.org/rtems-tools/commit/?id=a252faf1d3ccb207b0c894ae61ccf7d029b1ae27
Author: Chris Johns <chrisj at rtems.org>
Date: Tue Aug 30 18:10:17 2016 +1000
bsp-builder: Results format fixes.
---
tester/rt/check.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tester/rt/check.py b/tester/rt/check.py
index fd42f5d..03642ed 100755
--- a/tester/rt/check.py
+++ b/tester/rt/check.py
@@ -106,7 +106,7 @@ class results:
self.fails = []
def _arch_bsp(self, arch, bsp):
- return '%s/%s' % (f[0], f[1])
+ return '%s/%s' % (arch, bsp)
def add(self, good, arch, bsp, configure, warnings):
if good:
@@ -143,7 +143,7 @@ class results:
log.output('None')
else:
max_col = 0
- for f in self.fails:
+ for f in self.passes:
arch_bsp = self._arch_bsp(f[0], f[1])
if len(arch_bsp) > max_col:
max_col = len(arch_bsp)
@@ -152,10 +152,10 @@ class results:
config_at = config_cmd.find('configure')
if config_at != -1:
config_cmd = config_cmd[config_at:]
- log.output(' %*s: %d %s' % (max_col + 2,
- self._arch_bsp(f[0], f[1]),
- f[3],
- config_cmd))
+ log.output(' %*s: %5d %s' % (max_col + 2,
+ self._arch_bsp(f[0], f[1]),
+ f[3],
+ config_cmd))
class configuration:
More information about the vc
mailing list