diff options
author | Simon Glass <sjg@chromium.org> | 2014-08-09 15:33:02 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-08-13 08:34:15 -0600 |
commit | b2ea7ab25258621871db1f884be1a2f2b1641741 (patch) | |
tree | bcf0dc78bbe4c8c3537d6e7c22456c6621587b8b /tools/buildman/test.py | |
parent | c1de50149228c73c90f71a51c8a0a4ab7d651b3a (diff) |
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.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/buildman/test.py b/tools/buildman/test.py index 068784a3041..c6923af8a90 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""" |