diff options
author | Simon Glass <sjg@chromium.org> | 2014-08-28 09:43:39 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-09-05 13:40:42 -0600 |
commit | 2c3deb9758c5be1c590bebdd25d8a36d486ea5e9 (patch) | |
tree | 2b844a37225fe82ff992eedcee8c5d21f2395d4b /tools/buildman/buildman.py | |
parent | d0c5719d92c85addcd38e1dcc21cbc4cbc0fc6a5 (diff) | |
download | u-boot-imx-2c3deb9758c5be1c590bebdd25d8a36d486ea5e9.zip u-boot-imx-2c3deb9758c5be1c590bebdd25d8a36d486ea5e9.tar.gz u-boot-imx-2c3deb9758c5be1c590bebdd25d8a36d486ea5e9.tar.bz2 |
buildman: Set the return code to indicate build result
When buildman finds errors/warnings when building, set the return code to
indicate this.
Suggested-by: York Sun <yorksun@freescale.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/buildman.py')
-rwxr-xr-x | tools/buildman/buildman.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/buildman/buildman.py b/tools/buildman/buildman.py index e18859b..fbd3125 100755 --- a/tools/buildman/buildman.py +++ b/tools/buildman/buildman.py @@ -136,4 +136,5 @@ elif options.full_help: # Build selected commits for selected boards else: - control.DoBuildman(options, args) + ret_code = control.DoBuildman(options, args) + sys.exit(ret_code) |