diff options
author | Simon Glass | 2022-01-29 14:14:14 -0700 |
---|---|---|
committer | Simon Glass | 2022-02-09 12:30:12 -0700 |
commit | 5e2ab40172b42ae9ce6d58b95f238013184fa865 (patch) | |
tree | 9638f6c5be573a0c9af22bd4a971a36f892bbc9c /tools/dtoc | |
parent | ce31277160de2b8500f6a0e6fd284ef137e26628 (diff) |
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')
-rwxr-xr-x | tools/dtoc/main.py | 6 | ||||
-rwxr-xr-x | tools/dtoc/test_fdt.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/dtoc/main.py b/tools/dtoc/main.py index 276cfadf5a3..fac9db9c786 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) diff --git a/tools/dtoc/test_fdt.py b/tools/dtoc/test_fdt.py index 5a4e9e08145..c789822afae 100755 --- a/tools/dtoc/test_fdt.py +++ b/tools/dtoc/test_fdt.py @@ -715,7 +715,7 @@ class TestFdtUtil(unittest.TestCase): def RunTestCoverage(): """Run the tests and check that we get 100% coverage""" - test_util.RunTestCoverage('tools/dtoc/test_fdt.py', None, + test_util.run_test_coverage('tools/dtoc/test_fdt.py', None, ['tools/patman/*.py', '*test_fdt.py'], options.build_dir) |