summaryrefslogtreecommitdiff
path: root/tools/buildman/test.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-08-09 15:33:03 -0600
committerSimon Glass <sjg@chromium.org>2014-08-13 08:34:15 -0600
commite5a0e5d84239c71a156a0a14d9332c5532f2411e (patch)
tree8f868766dea9ec705ed6b38003e3d3c303c67c54 /tools/buildman/test.py
parentb2ea7ab25258621871db1f884be1a2f2b1641741 (diff)
buildman: Add verbose option to display errors as they happen
Normally buildman operates in two passes - one to do the build and another to summarise the errors. Add a verbose option (-v) to display build problems as they happen. With -e also given, this will display errors too. When building the current source tree (rather than a list of commits in a branch), both -v and -e are enabled automatically. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/test.py')
-rw-r--r--tools/buildman/test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/buildman/test.py b/tools/buildman/test.py
index c6923af8a9..a724d8347a 100644
--- a/tools/buildman/test.py
+++ b/tools/buildman/test.py
@@ -137,7 +137,8 @@ class TestBuild(unittest.TestCase):
board_selected = self.boards.GetSelectedDict()
#build.BuildCommits(self.commits, board_selected, False)
- build.BuildBoards(self.commits, board_selected, False)
+ build.BuildBoards(self.commits, board_selected, keep_outputs=False,
+ verbose=False)
build.SetDisplayOptions(show_errors=True);
build.ShowSummary(self.commits, board_selected)