summaryrefslogtreecommitdiff
path: root/tools/buildman
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-05 22:06:11 -0700
committerSimon Glass <sjg@chromium.org>2015-03-05 16:14:32 -0700
commit63c619eefde619731370b42ae2a2c16a86b23597 (patch)
treed16177703dd3e2b469c520c49b64e22b8861301b /tools/buildman
parent2a76a64981faf1cee84b6b7bdfa1894ba2e2e954 (diff)
downloadu-boot-imx-63c619eefde619731370b42ae2a2c16a86b23597.zip
u-boot-imx-63c619eefde619731370b42ae2a2c16a86b23597.tar.gz
u-boot-imx-63c619eefde619731370b42ae2a2c16a86b23597.tar.bz2
buildman: Add a space before the list of boards
Tweak the output slightly so we don't get things like: - board1 board2+ board3 board4 There should be a space before the '+'. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman')
-rw-r--r--tools/buildman/builder.py2
-rw-r--r--tools/buildman/test.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py
index 1b0ad99..54f3292 100644
--- a/tools/buildman/builder.py
+++ b/tools/buildman/builder.py
@@ -664,7 +664,7 @@ class Builder:
arch = 'unknown'
str = self.col.Color(color, ' ' + target)
if not arch in done_arch:
- str = self.col.Color(color, char) + ' ' + str
+ str = ' %s %s' % (self.col.Color(color, char), str)
done_arch[arch] = True
if not arch in arch_list:
arch_list[arch] = str
diff --git a/tools/buildman/test.py b/tools/buildman/test.py
index c0ad5d0..7642d94 100644
--- a/tools/buildman/test.py
+++ b/tools/buildman/test.py
@@ -169,7 +169,7 @@ class TestBuild(unittest.TestCase):
expected_colour = col.GREEN if ok else col.RED
expect = '%10s: ' % arch
# TODO(sjg@chromium.org): If plus is '', we shouldn't need this
- expect += col.Color(expected_colour, plus)
+ expect += ' ' + col.Color(expected_colour, plus)
expect += ' '
for board in boards:
expect += col.Color(expected_colour, ' %s' % board)