summaryrefslogtreecommitdiff
path: root/tools/buildman
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-18 16:48:33 -0600
committersjg <sjg@chromium.org>2016-10-09 09:30:32 -0600
commit745b395aefcd7e4718f6f51167c0e462931842b6 (patch)
treed862b0c4875db962ead1566b4248d7bbe39a9e3b /tools/buildman
parentb222abe736e4ea61e7c61dee412fb80d840b5111 (diff)
buildman: Print a message indicating the build is starting
Make it clear when buildman actually starts building. This happens when it has prepared the threads, working directory and output directories. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman')
-rw-r--r--tools/buildman/builder.py1
-rw-r--r--tools/buildman/test.py4
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py
index da2a0a1281..384f053015 100644
--- a/tools/buildman/builder.py
+++ b/tools/buildman/builder.py
@@ -1430,6 +1430,7 @@ class Builder:
self._PrepareWorkingSpace(min(self.num_threads, len(board_selected)),
commits is not None)
self._PrepareOutputSpace()
+ Print('\rStarting build...', newline=False)
self.SetupBuild(board_selected, commits)
self.ProcessResult(None)
diff --git a/tools/buildman/test.py b/tools/buildman/test.py
index d8f3c81fad..ed2a3a8929 100644
--- a/tools/buildman/test.py
+++ b/tools/buildman/test.py
@@ -198,9 +198,9 @@ class TestBuild(unittest.TestCase):
if line.text.strip():
count += 1
- # We should get one starting message, then an update for every commit
+ # We should get two starting messages, then an update for every commit
# built.
- self.assertEqual(count, len(commits) * len(boards) + 1)
+ self.assertEqual(count, len(commits) * len(boards) + 2)
build.SetDisplayOptions(show_errors=True);
build.ShowSummary(self.commits, board_selected)
#terminal.EchoPrintTestLines()