summaryrefslogtreecommitdiff
path: root/tools/buildman
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-20 02:48:09 +0300
committerSimon Glass <sjg@chromium.org>2023-07-24 18:34:10 +0300
commit2ef22f8e68f4b31b729a85d0df57da051020c49a (patch)
tree04af1e658d0b9be68217732330cbac1d9b7e5d2d /tools/buildman
parent8c1fbd1f6076664df3e3db21e10a268557d85a72 (diff)
downloadu-boot-2ef22f8e68f4b31b729a85d0df57da051020c49a.tar.xz
buildman: Fix verboose typo and add comment
Fix the typo in the RunTests() function, adding comments while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman')
-rwxr-xr-xtools/buildman/main.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/buildman/main.py b/tools/buildman/main.py
index 5e1f68d823..a2ffbc9073 100755
--- a/tools/buildman/main.py
+++ b/tools/buildman/main.py
@@ -28,7 +28,14 @@ from patman import gitutil
from u_boot_pylib import terminal
from u_boot_pylib import test_util
-def RunTests(skip_net_tests, verboose, args):
+def RunTests(skip_net_tests, verbose, args):
+ """Run the buildman tests
+
+ Args:
+ skip_net_tests (bool): True to skip tests which need the network
+ verbosity (int): Verbosity level to use (0-4)
+ args (list of str): List of tests to run, empty to run all
+ """
from buildman import func_test
from buildman import test
import doctest
@@ -40,7 +47,7 @@ def RunTests(skip_net_tests, verboose, args):
# Run the entry tests first ,since these need to be the first to import the
# 'entry' module.
result = test_util.run_test_suites(
- 'buildman', False, verboose, False, None, test_name, [],
+ 'buildman', False, verbose, False, None, test_name, [],
[test.TestBuild, func_test.TestFunctional,
'buildman.toolchain', 'patman.gitutil'])