aboutsummaryrefslogtreecommitdiff
path: root/tools/buildman/builderthread.py
diff options
context:
space:
mode:
authorSimon Glass2020-03-18 09:42:41 -0600
committerTom Rini2020-04-10 21:21:06 -0400
commite9fbbf633e6256a9749c6d8e6876dafa86213351 (patch)
treebe61e579dbddb96608e2e86678a5460bc0b042c0 /tools/buildman/builderthread.py
parented49ea90b7621f06a40b2d6089663070e0e7dcb9 (diff)
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 570c1f6595c..1e52ef82958 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):