summaryrefslogtreecommitdiff
path: root/tools/buildman/test.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-08-09 21:33:02 (GMT)
committerSimon Glass <sjg@chromium.org>2014-08-13 14:34:15 (GMT)
commitb2ea7ab25258621871db1f884be1a2f2b1641741 (patch)
treebcf0dc78bbe4c8c3537d6e7c22456c6621587b8b /tools/buildman/test.py
parentc1de50149228c73c90f71a51c8a0a4ab7d651b3a (diff)
downloadu-boot-b2ea7ab25258621871db1f884be1a2f2b1641741.tar.xz
buildman: Refactor output options
We need the output options to be available in several places. It's a pain to pass them into each function. Make them properties of the builder and add a single function to set them up. At the same time, add a function which produces summary output using these options. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/test.py')
-rw-r--r--tools/buildman/test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/buildman/test.py b/tools/buildman/test.py
index 068784a..c6923af 100644
--- a/tools/buildman/test.py
+++ b/tools/buildman/test.py
@@ -137,9 +137,9 @@ class TestBuild(unittest.TestCase):
board_selected = self.boards.GetSelectedDict()
#build.BuildCommits(self.commits, board_selected, False)
- build.BuildBoards(self.commits, board_selected, False, False)
- build.ShowSummary(self.commits, board_selected, True, False,
- False, False)
+ build.BuildBoards(self.commits, board_selected, False)
+ build.SetDisplayOptions(show_errors=True);
+ build.ShowSummary(self.commits, board_selected)
def _testGit(self):
"""Test basic builder operation by building a branch"""