]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
buildman: Document the members of BuilderJob
authorSimon Glass <sjg@chromium.org>
Wed, 18 Mar 2020 15:42:41 +0000 (09:42 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 11 Apr 2020 01:21:06 +0000 (21:21 -0400)
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>
tools/buildman/builderthread.py

index 570c1f6595c93259255296c817a4f9d10bb1c805..1e52ef82958e4949cd0eb09d03524e5623b1598d 100644 (file)
@@ -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):