summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-08-29 11:47:04 +1000
committerChris Johns <chrisj@rtems.org>2016-08-29 11:47:04 +1000
commit06c3ccdcf3c23c9c8a1ebb816e4edd6d444da946 (patch)
treed0c1364c270d1c3b1230a02070e8ff3acb16e391
parentbsp-builder: Add lm3s6965_qemu to ARM bsp list. Fix network-debug options. (diff)
downloadrtems-tools-06c3ccdcf3c23c9c8a1ebb816e4edd6d444da946.tar.bz2
bsp-builder: Fix bugs.
-rwxr-xr-xtester/rt/check.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/tester/rt/check.py b/tester/rt/check.py
index 4210162..fd42f5d 100755
--- a/tester/rt/check.py
+++ b/tester/rt/check.py
@@ -108,7 +108,6 @@ class results:
def _arch_bsp(self, arch, bsp):
return '%s/%s' % (f[0], f[1])
-
def add(self, good, arch, bsp, configure, warnings):
if good:
self.passes += [(arch, bsp, configure, warnings)]
@@ -128,7 +127,7 @@ class results:
else:
max_col = 0
for f in self.fails:
- arch_bsp = self._arch_bsp(arch, bsp)
+ arch_bsp = self._arch_bsp(f[0], f[1])
if len(arch_bsp) > max_col:
max_col = len(arch_bsp)
for f in self.fails:
@@ -137,7 +136,7 @@ class results:
if config_at != -1:
config_cmd = config_cmd[config_at:]
log.output(' %*s: %s' % (max_col + 2,
- self._arch_bsp(arch, bsp),
+ self._arch_bsp(f[0], f[1]),
config_cmd))
log.output(' Passes:')
if len(self.passes) == 0:
@@ -145,7 +144,7 @@ class results:
else:
max_col = 0
for f in self.fails:
- arch_bsp = self._arch_bsp(arch, bsp)
+ arch_bsp = self._arch_bsp(f[0], f[1])
if len(arch_bsp) > max_col:
max_col = len(arch_bsp)
for f in self.passes:
@@ -154,7 +153,7 @@ class results:
if config_at != -1:
config_cmd = config_cmd[config_at:]
log.output(' %*s: %d %s' % (max_col + 2,
- self._arch_bsp(arch, bsp),
+ self._arch_bsp(f[0], f[1]),
f[3],
config_cmd))
@@ -481,7 +480,7 @@ class build:
start = datetime.datetime.now()
log.output('=' * 70)
log.notice(']] Architecture: %s' % (arch))
- if not self.confif.arch_present(arch):
+ if not self.config.arch_present(arch):
raise error.general('Architecture not found: %s' % (arch))
for bsp in self._bsps(arch):
self.build_arch_bsp(arch, bsp)