diff options
author | Simon Glass <sjg@chromium.org> | 2020-04-17 18:08:57 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-04-26 14:25:21 -0600 |
commit | 4d25fe2d952dd66d0f6c3f0dfdd4303e85d65333 (patch) | |
tree | ae66df49cf794c9907df81d2b8da2cba36125e12 /tools | |
parent | 7ec3dc57b33e2fa5f1da1ade259937f5631532c0 (diff) | |
download | u-boot-4d25fe2d952dd66d0f6c3f0dfdd4303e85d65333.tar.gz |
dtoc: Rename the main module
Python does not like the module name being the same as the module
directory. To allow dtoc modules to be used from other tools, rename
it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
l--------- | tools/dtoc/dtoc | 2 | ||||
-rwxr-xr-x | tools/dtoc/main.py (renamed from tools/dtoc/dtoc.py) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/dtoc/dtoc b/tools/dtoc/dtoc index 896ca44e62..11a5d8e18a 120000 --- a/tools/dtoc/dtoc +++ b/tools/dtoc/dtoc @@ -1 +1 @@ -dtoc.py
\ No newline at end of file +main.py
\ No newline at end of file diff --git a/tools/dtoc/dtoc.py b/tools/dtoc/main.py index 8e05b43431..b1eee21f17 100755 --- a/tools/dtoc/dtoc.py +++ b/tools/dtoc/main.py @@ -77,7 +77,7 @@ def run_tests(args): def RunTestCoverage(): """Run the tests and check that we get 100% coverage""" sys.argv = [sys.argv[0]] - test_util.RunTestCoverage('tools/dtoc/dtoc.py', '/dtoc.py', + test_util.RunTestCoverage('tools/dtoc/dtoc', '/main.py', ['tools/patman/*.py', '*/fdt*', '*test*'], options.build_dir) |