]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
patman: Add settings to the list of modules to doctest
authorDoug Anderson <dianders@chromium.org>
Mon, 3 Dec 2012 14:43:19 +0000 (14:43 +0000)
committerSimon 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

index 2e9e5dc37e63cc6ddec36e86e28effe797cfc59b..e56dd01308f3e4bc843a76e1159e1413166dbb55 100755 (executable)
@@ -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