summaryrefslogtreecommitdiffstats
path: root/tools/buildman/builderthread.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-03-18 09:42:41 -0600
committerTom Rini <trini@konsulko.com>2020-04-10 21:21:06 -0400
commite9fbbf633e6256a9749c6d8e6876dafa86213351 (patch)
treebe61e579dbddb96608e2e86678a5460bc0b042c0 /tools/buildman/builderthread.py
parented49ea90b7621f06a40b2d6089663070e0e7dcb9 (diff)
downloadu-boot-e9fbbf633e6256a9749c6d8e6876dafa86213351.tar.gz
u-boot-e9fbbf633e6256a9749c6d8e6876dafa86213351.tar.xz
u-boot-e9fbbf633e6256a9749c6d8e6876dafa86213351.zip
buildman: Document the members of BuilderJob
This class has a few more members now. Add documentation for them and fix a nit in the 'commits' comment. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/builderthread.py')
-rw-r--r--tools/buildman/builderthread.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index 570c1f6595..1e52ef8295 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -39,11 +39,15 @@ class BuilderJob:
Members:
board: Board object to build
- commits: List of commit options to build.
+ commits: List of Commit objects to build
+ keep_outputs: True to save build output files
+ step: 1 to process every commit, n to process every nth commit
"""
def __init__(self):
self.board = None
self.commits = []
+ self.keep_outputs = False
+ self.step = 1
class ResultThread(threading.Thread):