summaryrefslogtreecommitdiff
path: root/tools/patman/main.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-06-14 10:54:04 -0600
committerSimon Glass <sjg@chromium.org>2020-07-09 18:57:22 -0600
commit40d9734cb17897329389230c7ebd9502c95c899b (patch)
tree02188bc565acb4925173666f9d4794b5f4dea49f /tools/patman/main.py
parentb48c272b1a52311b8afc187e1028e83b02a90a6f (diff)
patman: Rename test.py to test_checkpatch.py
These tests check checkpatch.pl operation and can server as our tests for the U-Boot-specific updates to that script. Rename the file and update comments to indicate this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/main.py')
-rwxr-xr-xtools/patman/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/patman/main.py b/tools/patman/main.py
index 0df2aa5a98..28a9a26087 100755
--- a/tools/patman/main.py
+++ b/tools/patman/main.py
@@ -25,7 +25,7 @@ from patman import patchstream
from patman import project
from patman import settings
from patman import terminal
-from patman import test
+from patman import test_checkpatch
parser = OptionParser()
@@ -93,7 +93,7 @@ elif options.test:
sys.argv = [sys.argv[0]]
result = unittest.TestResult()
- for module in (test.TestPatch, func_test.TestFunctional):
+ for module in (test_checkpatch.TestPatch, func_test.TestFunctional):
suite = unittest.TestLoader().loadTestsFromTestCase(module)
suite.run(result)