mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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>
This commit is contained in:
parent
b222abe736
commit
745b395aef
2 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue