projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1dcee8
)
patman: Add settings to the list of modules to doctest
author
Doug Anderson
<dianders@chromium.org>
Mon, 3 Dec 2012 14:43:19 +0000
(14:43 +0000)
committer
Simon Glass
<sjg@chromium.org>
Thu, 31 Jan 2013 23:23:40 +0000
(15:23 -0800)
The settings modules now has doctests, so run them.
Signed-off-by: Doug Anderson <dianders@chromium.org>
tools/patman/patman.py
patch
|
blob
|
history
diff --git
a/tools/patman/patman.py
b/tools/patman/patman.py
index 2e9e5dc37e63cc6ddec36e86e28effe797cfc59b..e56dd01308f3e4bc843a76e1159e1413166dbb55 100755
(executable)
--- 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