diff options
author | Simon Glass <sjg@chromium.org> | 2022-01-29 14:14:14 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-02-09 12:30:12 -0700 |
commit | 5e2ab40172b42ae9ce6d58b95f238013184fa865 (patch) | |
tree | 9638f6c5be573a0c9af22bd4a971a36f892bbc9c /tools/patman/test_util.py | |
parent | ce31277160de2b8500f6a0e6fd284ef137e26628 (diff) | |
download | u-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/patman/test_util.py')
-rw-r--r-- | tools/patman/test_util.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/patman/test_util.py b/tools/patman/test_util.py index c3f15f8..c60eb36 100644 --- a/tools/patman/test_util.py +++ b/tools/patman/test_util.py @@ -23,7 +23,7 @@ except: use_concurrent = False -def RunTestCoverage(prog, filter_fname, exclude_list, build_dir, required=None, +def run_test_coverage(prog, filter_fname, exclude_list, build_dir, required=None, extra_args=None): """Run tests and check that we get 100% coverage @@ -102,7 +102,7 @@ def capture_sys_output(): sys.stdout, sys.stderr = old_out, old_err -def ReportResult(toolname:str, test_name: str, result: unittest.TestResult): +def report_result(toolname:str, test_name: str, result: unittest.TestResult): """Report the results from a suite of tests Args: @@ -139,8 +139,8 @@ def ReportResult(toolname:str, test_name: str, result: unittest.TestResult): return 0 -def RunTestSuites(result, debug, verbosity, test_preserve_dirs, processes, - test_name, toolpath, class_and_module_list): +def run_test_suites(result, debug, verbosity, test_preserve_dirs, processes, + test_name, toolpath, class_and_module_list): """Run a series of test suites and collect the results Args: |