summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-08-30 18:10:17 +1000
committerChris Johns <chrisj@rtems.org>2016-08-30 18:10:17 +1000
commita252faf1d3ccb207b0c894ae61ccf7d029b1ae27 (patch)
tree781cbfe77e84b3c4feab132e1f4dd2c53215b818
parentbsp-builder: Fix bugs. (diff)
downloadrtems-tools-a252faf1d3ccb207b0c894ae61ccf7d029b1ae27.tar.bz2
bsp-builder: Results format fixes.
-rwxr-xr-xtester/rt/check.py12
1 files 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: