diff options
author | Simon Glass <sjg@chromium.org> | 2021-04-11 07:27:25 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-04-29 13:23:39 +0300 |
commit | 249933136f860eb35f8729f4774b7058744bf31f (patch) | |
tree | a7859d32bea0a0f8c1a4cb09b81776adcc7f0556 /tools/buildman/func_test.py | |
parent | 6784cb35f52b1f742a4b56cc6b5697b6ca784598 (diff) | |
download | u-boot-249933136f860eb35f8729f4774b7058744bf31f.tar.xz |
buildman: Tidy up a few comments
Add some function comments which are missing, or missing arguments.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/func_test.py')
-rw-r--r-- | tools/buildman/func_test.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/buildman/func_test.py b/tools/buildman/func_test.py index 3dd2e6ee5b..c6997d1ee2 100644 --- a/tools/buildman/func_test.py +++ b/tools/buildman/func_test.py @@ -219,12 +219,21 @@ class TestFunctional(unittest.TestCase): return command.RunPipe([[self._buildman_pathname] + list(args)], capture=True, capture_stderr=True) - def _RunControl(self, *args, clean_dir=False, boards=None): + """Run buildman + + Args: + args: List of arguments to pass + boards: + clean_dir: Used for tests only, indicates that the existing output_dir + should be removed before starting the build + + Returns: + result code from buildman + """ sys.argv = [sys.argv[0]] + list(args) options, args = cmdline.ParseArgs() result = control.DoBuildman(options, args, toolchains=self._toolchains, make_func=self._HandleMake, boards=boards or self._boards, - clean_dir=clean_dir) self._builder = control.builder return result |