diff options
author | Simon Glass <sjg@chromium.org> | 2014-08-09 15:33:03 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-08-13 08:34:15 -0600 |
commit | e5a0e5d84239c71a156a0a14d9332c5532f2411e (patch) | |
tree | 8f868766dea9ec705ed6b38003e3d3c303c67c54 /tools/buildman/control.py | |
parent | b2ea7ab25258621871db1f884be1a2f2b1641741 (diff) | |
download | u-boot-e5a0e5d84239c71a156a0a14d9332c5532f2411e.tar.gz u-boot-e5a0e5d84239c71a156a0a14d9332c5532f2411e.tar.xz u-boot-e5a0e5d84239c71a156a0a14d9332c5532f2411e.zip |
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/control.py')
-rw-r--r-- | tools/buildman/control.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py index d8fa74b90e..cc8593f7eb 100644 --- a/tools/buildman/control.py +++ b/tools/buildman/control.py @@ -158,6 +158,8 @@ def DoBuildman(options, args): series) else: series = None + options.verbose = True + options.show_errors = True # By default we have one thread per CPU. But if there are not enough jobs # we can have fewer threads and use a high '-j' value for make. @@ -216,4 +218,4 @@ def DoBuildman(options, args): builder.ShowSummary(commits, board_selected) else: builder.BuildBoards(commits, board_selected, - options.keep_outputs) + options.keep_outputs, options.verbose) |