summaryrefslogtreecommitdiff
path: root/tools/buildman/control.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-09 19:49:45 +0300
committerSimon Glass <sjg@chromium.org>2020-04-21 15:33:47 +0300
commitb1e5e6d22478554b4bc74afd280440732ccc9422 (patch)
tree60e46d9b00147abb6b6e98c0241472b8b22fca0f /tools/buildman/control.py
parenta38930e227ffdeef8c87e4072b7cb59f6127c3cc (diff)
downloadu-boot-b1e5e6d22478554b4bc74afd280440732ccc9422.tar.xz
buildman: Change the exit codes
The current exit codes of 128 and 129 are useful in that they do not conflict with those returned by tools, but they are not actually valid. It seems better to pick some codes which work with 'bit bisect run'. Update them to 100 (for errors) and 101 (for warnings). Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/control.py')
-rw-r--r--tools/buildman/control.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index 07f47a5445..30c030fd16 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -361,7 +361,7 @@ def DoBuildman(options, args, toolchains=None, make_func=None, boards=None,
fail, warned = builder.BuildBoards(commits, board_selected,
options.keep_outputs, options.verbose)
if fail:
- return 128
+ return 100
elif warned and not options.ignore_warnings:
- return 129
+ return 101
return 0