aboutsummaryrefslogtreecommitdiff
path: root/tools/dtoc/main.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-01-29 14:14:14 -0700
committerSimon Glass <sjg@chromium.org>2022-02-09 12:30:12 -0700
commit5e2ab40172b42ae9ce6d58b95f238013184fa865 (patch)
tree9638f6c5be573a0c9af22bd4a971a36f892bbc9c /tools/dtoc/main.py
parentce31277160de2b8500f6a0e6fd284ef137e26628 (diff)
downloadu-boot-5e2ab40172b42ae9ce6d58b95f238013184fa865.zip
u-boot-5e2ab40172b42ae9ce6d58b95f238013184fa865.tar.gz
u-boot-5e2ab40172b42ae9ce6d58b95f238013184fa865.tar.bz2
patman: Convert camel case in test_util.py
Convert this file to snake case and update all files which use it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/dtoc/main.py')
-rwxr-xr-xtools/dtoc/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dtoc/main.py b/tools/dtoc/main.py
index 276cfad..fac9db9 100755
--- a/tools/dtoc/main.py
+++ b/tools/dtoc/main.py
@@ -55,17 +55,17 @@ def run_tests(processes, args):
test_dtoc.setup()
- test_util.RunTestSuites(
+ test_util.run_test_suites(
result, debug=True, verbosity=1, test_preserve_dirs=False,
processes=processes, test_name=test_name, toolpath=[],
class_and_module_list=[test_dtoc.TestDtoc,test_src_scan.TestSrcScan])
- return test_util.ReportResult('binman', test_name, result)
+ return test_util.report_result('binman', test_name, result)
def RunTestCoverage():
"""Run the tests and check that we get 100% coverage"""
sys.argv = [sys.argv[0]]
- test_util.RunTestCoverage('tools/dtoc/dtoc', '/main.py',
+ test_util.run_test_coverage('tools/dtoc/dtoc', '/main.py',
['tools/patman/*.py', '*/fdt*', '*test*'], args.build_dir)