diff options
author | Doug Anderson <dianders@chromium.org> | 2012-12-03 14:43:19 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2013-01-31 15:23:40 -0800 |
commit | 656cffeb49394f1cc935001f90337028e01472c5 (patch) | |
tree | 5ee5d45ccbc5bf182cd1cb4456084ab84a45f6e8 /tools/patman/patman.py | |
parent | a1dcee84c993232a6c5a1f3b4e54952b587cf1d1 (diff) | |
download | u-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-x | tools/patman/patman.py | 5 |
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 |