summaryrefslogtreecommitdiff
path: root/tools/patman/patman.py
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2012-12-03 14:43:19 +0000
committerSimon Glass <sjg@chromium.org>2013-01-31 15:23:40 -0800
commit656cffeb49394f1cc935001f90337028e01472c5 (patch)
tree5ee5d45ccbc5bf182cd1cb4456084ab84a45f6e8 /tools/patman/patman.py
parenta1dcee84c993232a6c5a1f3b4e54952b587cf1d1 (diff)
downloadu-boot-imx-656cffeb49394f1cc935001f90337028e01472c5.zip
u-boot-imx-656cffeb49394f1cc935001f90337028e01472c5.tar.gz
u-boot-imx-656cffeb49394f1cc935001f90337028e01472c5.tar.bz2
patman: Add settings to the list of modules to doctest
The settings modules now has doctests, so run them. Signed-off-by: Doug Anderson <dianders@chromium.org>
Diffstat (limited to 'tools/patman/patman.py')
-rwxr-xr-xtools/patman/patman.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/patman/patman.py b/tools/patman/patman.py
index 2e9e5dc..e56dd01 100755
--- a/tools/patman/patman.py
+++ b/tools/patman/patman.py
@@ -85,8 +85,9 @@ if options.test:
result = unittest.TestResult()
suite.run(result)
- suite = doctest.DocTestSuite('gitutil')
- suite.run(result)
+ for module in ['gitutil', 'settings']:
+ suite = doctest.DocTestSuite(module)
+ suite.run(result)
# TODO: Surely we can just 'print' result?
print result