aboutsummaryrefslogtreecommitdiff
path: root/tools/buildman/func_test.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-09 10:49:45 -0600
committerSimon Glass <sjg@chromium.org>2020-04-21 06:33:47 -0600
commitb1e5e6d22478554b4bc74afd280440732ccc9422 (patch)
tree60e46d9b00147abb6b6e98c0241472b8b22fca0f /tools/buildman/func_test.py
parenta38930e227ffdeef8c87e4072b7cb59f6127c3cc (diff)
downloadu-boot-b1e5e6d22478554b4bc74afd280440732ccc9422.zip
u-boot-b1e5e6d22478554b4bc74afd280440732ccc9422.tar.gz
u-boot-b1e5e6d22478554b4bc74afd280440732ccc9422.tar.bz2
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/func_test.py')
-rw-r--r--tools/buildman/func_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildman/func_test.py b/tools/buildman/func_test.py
index b9e347e..1fbc6f6 100644
--- a/tools/buildman/func_test.py
+++ b/tools/buildman/func_test.py
@@ -454,7 +454,7 @@ class TestFunctional(unittest.TestCase):
# Only sandbox should succeed, the others don't have toolchains
self.assertEqual(self._builder.fail,
self._total_builds - self._commits)
- self.assertEqual(ret_code, 128)
+ self.assertEqual(ret_code, 100)
for commit in range(self._commits):
for board in self._boards.GetList():